Code units and security rights

rj5570
Member Posts: 157
my first question, if you have permsissions set as follows
codeunit objectID 0 execute YES
does that give all access to code units?
if so, what is the easiest way if you want to denie 1 code unit but keep access to ALL others can you do something like this for the OBJECT ID - 0..215 and it will access to only 0 thru 215 then do another like for access to 217..XXXX if you want to skip 216 (this is just an example)
codeunit objectID 0 execute YES
does that give all access to code units?
if so, what is the easiest way if you want to denie 1 code unit but keep access to ALL others can you do something like this for the OBJECT ID - 0..215 and it will access to only 0 thru 215 then do another like for access to 217..XXXX if you want to skip 216 (this is just an example)
- So it Goes.
0
Comments
-
Yes, when the object number is 0 this gives access to all objects of that type. Check out the SUPER role and see how its permissions are setup. You'll see an entry for each object type with a 0 for the object number.
There is no easy way to limit access to only one codeunit. You must enter each of the other object numbers into the list. If you don't want to do it manually just make a Report or Codeunit to do it for you. If you need help with that let me know.0 -
THANK YOU
thats what i thought, thanks for your help
this is resolved
rj- So it Goes.0 -
"Easy way" & "Nav Permissions" never seemed to fit well in the same sentance.
Kind of like Military Intelligence0 -
too funny!- So it Goes.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