User Permissions
jsrark
Member Posts: 50
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?
](*,) ](*,) ](*,)
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
-
Have you gone through, role by role, and checked the access for one of the users in question? What access does it say they have for the Item table?
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.0 -
It's kind of you to reply
but we have not changed any roles (which were all working previously), we have only modified the user permissions by adding the Company Name.
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? :?:0 -
Have you Synchronized your permissions?0
-
Every time we make changes to user permissions.
0 -
You're on Standard security so you shouldn't have to synchronize.
Is your item table shared across all companies? As in DataPerCompany = No0 -
No.
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.0 -
Hi,
Check db.owner in SQL user log in setup for affected users.
Thanks!
Bhushan0 -
Sorry I don't understand your post. Can you please be more explicit.
0 -
I understood that it was multiple tables, but you have to start with something concrete, thus the Item table. I think they keyword in the error message is Access. It is not saying Read, Write, etc.
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.0 -
For Example.
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.
](*,) ](*,) ](*,) ](*,)0 -
Hi all,
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.0 -
Problem was resolved by Renaming the company. Then the user permissions per comapny was functional.
Why? I don't know.0 -
By any chance, were you logging into the database with an Icon that pointed directly to the server / database / company?
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.0 -
Problem resolved and now operational.
Problem traced back to original setup of user permissions.
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
