How to apply permission of company to the user

vyanku
vyanku Member Posts: 791
My client have 3 companies. and 10 users
4 usrs are working on all 3compaies ,all modules.
rest 6 are working on 2 companies,all modules.3rd company is restricted for them.

How can I give permission ? ](*,)

Answers

  • kriki
    kriki Member, Moderator Posts: 9,121
    When you assign a role to a user (or a user to a role), you can define the company in which this role is valid. If you leave it blank, it is for all companies.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • vyanku
    vyanku Member Posts: 791
    yes
    If the same roll is for another user having different company then?
    We have to defind another roll having same permission and asign it to another user ????
    It means if we create 4 users for purchase then we have to defind 4 rolls for purchase having same permission and asign them to 4 users for 4 companies. :-k
  • Konrad
    Konrad Member Posts: 30
    vyanku wrote:
    yes
    If the same roll is for another user having different company then?
    We have to defind another roll having same permission and asign it to another user ????
    It means if we create 4 users for purchase then we have to defind 4 rolls for purchase having same permission and asign them to 4 users for 4 companies. :-k
    Nope, you assign companies to combination of user and role not to role.
    You can create multiple entries with same role, user name and different company.
  • vyanku
    vyanku Member Posts: 791
    Thanks.
    One more question
    Can we asign more than one company. to same user and same roll.?
  • vyanku
    vyanku Member Posts: 791
    Thanks.
    One more question
    Can we asign more than one company. to same user having same roll.?
  • ara3n
    ara3n Member Posts: 9,258
    Yes, you need to insert another record with the same role and select a different company.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • ravikantc
    ravikantc Member Posts: 35
    Yes, you can give permission for more than one company to same partcular user by entering multiple recodes for the same roll and different company, but if you will leave blank the company field......user will have permission for all the companies in the same database.
  • vyanku
    vyanku Member Posts: 791
    Thanks to all.
    \:D/ :whistle: