We are using Version 5.0 SP1 on SQL Server 2005.
We are usign Standard Security method.
We use Windows Logins for user acccess and a limited number of Database logins for batch extracts through SQL.
My colleague (also SUPER user) has created a new company and changed (Windows) user logins to control access per company.
Example.
User A1 to A10 can only access Company A.
User B1 to B60 can only acccess Company B.
Now we have problems with all users for Company B. They have repeated messages like "you do not have permission to access the Item Table"....
We have deleted and re-created user permissions.
Any known issues and solutions in this area?
](*,) ](*,) ](*,)
0
Comments
I only ask because NAV isn't going to randomly say someone doesn't have permission to access a table. I can think of a few posts I've answered here where the poster said they had checked, listed the roles, and it was obvious that they hadn't when you looked at the permissions assigned to each one.
My Blog - nav.education
We have now reverted to our original Security Setup and our SQL Administrator will clone the database tonight for further investigation.
](*,) ](*,) ](*,) ](*,)
Any known issues with Version 5 SP1? :?:
Is your item table shared across all companies? As in DataPerCompany = No
My Blog - nav.education
As I said in my initial post the users recieve messages like "You do not have permissions to access the Item table".
There were many such messages for different tables.
It only affected users with permission for one of the companies.
Check db.owner in SQL user log in setup for affected users.
Thanks!
Bhushan
What happens when you give SUPER only for a specific company? Do they still get the error? That should tell you whether or not it is a legitimate permissions issue (you shouldn't get the error as you would have access to every object for the company) or some sort of code issue.
Doubtful, but maybe there are some functions that are performing a CHANGECOMPANY and running code.
My Blog - nav.education
The users get a message like
"you don't have permission to access the Sales header table" as soon as they try to open the Sales Order Form
or
"you don't have permission to access the Item table" as soon as they try to open the Item Card.
It happens to all users who have had their permissions changed to restrict access to Company B i.e. the permissions have been updated witht he company name.
All users who have access only to Company A can use system
It happens even when users are removed from Navision and SQL and then re-created through Navision.
Previously (when the Windows Access Control table had empty Comapny Name) all users had access to data in accordance with the allocated permissions.
There have been no changes to code that would change Company.
](*,) ](*,) ](*,) ](*,)
I have same problem. We are using NAV W1 5.00
I want to configure permission. For example: Just seniority account change to posting, other is only read.. etc
How to configure it.
I'm trying User Right Setup. But i don't understand. which table is selected, which table is permission.
Why? I don't know.
I have seen some permission / SQL errors when the startup parameter values were not properly capitalized. For example
.../finsql.exe servername=MyServer, Database=SoMeDaTaBaSe, company=My Company
would log you in, but if your database was actually SOMEDATABASE then you would get errors on certain things. This was on 3.7 and SQL2000, though. I never tried it with an improperly capitalized company name. Just a thought.
My Blog - nav.education
Problem traced back to original setup of user permissions.