Company security on a report

m.gretener
Member Posts: 13
I have different companies in Navision 3.7. One of them is the holding to which none of the normal users have access. Through a report I want to enable users to view some information from that company via CHANGECOMPANY. How can I make this work without giving the different users access to the Company.
With kind regards,
Marc G.
With kind regards,
Marc G.
0
Answers
-
If I am not mistaken, if a user uses that report and a CHANGECOMPANY happens to a table in a company he is NOT allowed to see, he will get an error. But to be sure, you have to test it.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Yes, I already tested this. There is an error because the user has no rights to the other company. But how can I enable the report to run, without enabling security rights for the user to the other company?
Is this for example possible by something like:
Get UserId.
Userid becomes Administrator
run report
change userid to former UserId
or is there a simpler solution; function?0 -
Have you tried to change the permissions on the report? Does this override the permissions in the user setup?
If this does not work, the only solution is to give (indirect) rights to the other company.0 -
If you are running the SQL Server version, you can create a view in the one company that provides the allowable data from the other company and provide permissions to the Navision table linked to that view.David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
Give the users a role with Indirect-read permissions in the tables which the report uses. In the report, you give permission to read those tables.So the users can never access the table directly, but the report can do it (=indirect permission).Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 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