Check which objects need Permission Property based on license
dral2011
Member Posts: 3
I am using Customer License and when I run one customized Codeunit I receive the message "You do not have permission to modify table 122...".
And this is the right message because the customer license has only indirect Modify permission in Table 122.
I know that I should add this table in Permission Property as it was missing there.
But I would like to know in general, is there any possibility to identify all objects for which I need to populate Permission Property based on license that I upload (without running the object)?
And this is the right message because the customer license has only indirect Modify permission in Table 122.
I know that I should add this table in Permission Property as it was missing there.
But I would like to know in general, is there any possibility to identify all objects for which I need to populate Permission Property based on license that I upload (without running the object)?
0
Best Answer
-
There are tools, I think Easy Security has one, which helps to find minimum required access permission by analyzing access to Object table from the SQL trace.
Never used such a tool myself, but I think may be helpful, especially if it can correlate the data from code coverage with Object table access data.
Slawek Guzek - www.yitron.co.uk
Business Central, MS SQL Server, Wherescape RED;5
Answers
-
You can find what is included in your license by building a page or a report on a virtual tables License Permission or Permission Range.
But this will not tell you what you *should* add - this basically depends on the code inside objects, and can be derived from analyzing object's code.
Slawek Guzek - www.yitron.co.uk
Business Central, MS SQL Server, Wherescape RED;0 -
Yes, I have checked with report both from License Permission and Permission Range and I know which tables are with indirect Modify permission but I was thinking of this other option and couldn't find myself until now a solution.
Anyhow, thank you very much for your answer.0 -
There are tools, I think Easy Security has one, which helps to find minimum required access permission by analyzing access to Object table from the SQL trace.
Never used such a tool myself, but I think may be helpful, especially if it can correlate the data from code coverage with Object table access data.
Slawek Guzek - www.yitron.co.uk
Business Central, MS SQL Server, Wherescape RED;5 -
I will give a try to this tool.
Thank you very much0
Categories
- All Categories
- 75 General
- 75 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
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
