Error when assigning company to user role

kelseykong@hotmail.comkelseykong@hotmail.com Member Posts: 86
Dear experts

I tried to restrict users' access to companies.
I click Tools-->security-->windows logins-->user ID--> Role--> add one company

When I test to open NAV using the User ID, I got error messages saying I dont have permission to run the EP Request handler codeunit, or to run MBS Menusuite. The issue is I have given permissions to run all menusuites and codeunits (BY selecting the object type of menusuite and codeunit, and select object ID as 0)

However, if I remove the assigned company from the user ID, then I dont have any problem to open NAV.

May I know whether you have encountered similar issue? Would you please let me know how to avoid the issue.

Thank you.

Li

Answers

  • SogSog Member Posts: 1,023
    Although the users can be restricted to 1 company, they still have to have the rights to read the company table and other system tables without the restriction of company. Because when restricting to one company, the user is disallowed to read the rights table, or the company table, or any other table required to log in.
    See the standard role all, for an example rights.
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • The issue was resolved by allowing users to read all tabledata.
Sign In or Register to comment.