Code units and security rights

rj5570rj5570 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)
- So it Goes.

Comments

  • matttraxmatttrax Member Posts: 2,309
    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.
  • rj5570rj5570 Member Posts: 157
    THANK YOU

    thats what i thought, thanks for your help

    this is resolved :)

    rj
    - So it Goes.
  • SavatageSavatage Member Posts: 7,142
    "Easy way" & "Nav Permissions" never seemed to fit well in the same sentance.

    Kind of like Military Intelligence :lol:
  • rj5570rj5570 Member Posts: 157
    too funny! :lol:
    - So it Goes.
Sign In or Register to comment.