Any tool to facilitate users access setup ???

Francis_KONHAWAFrancis_KONHAWA Member Posts: 29
Hello,
Is there any tool to facilitate de users access setup ?
I'm now implementing Navision for a company where security is a crucial issue. What I need is a tool to let me know what objects are needed to perform a functionality either in 'read', 'insert', 'update' or 'run' mode.

Thanks for any idea!
Best Regards

Francis K.

Comments

  • krikikriki Member, Moderator Posts: 9,118
    Launch Tools=>Debugger=>Code coverage=> start.
    After that, run your programs for a certain user. After that, stop the code coverage. In this form you will see all the objects to which the user needs execute-permission. And for the tabledata, read-acces. For Insert,modify,delete on tabledata, you have to use some logical thinking.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    Hello,
    Is there any tool to facilitate de users access setup ?
    Here are some:
    Navision Permission Role Wizard
    Extra Permissions View (Navision)
    User Rights Setup
    Administer users & rights
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • LittleJohnLittleJohn Member Posts: 12
    Hello,
    Is there any tool to facilitate de users access setup ?
    Here are some:
    Navision Permission Role Wizard
    Extra Permissions View (Navision)
    User Rights Setup
    Administer users & rights

    Thanks a lot, master,

    I downloaded one of the tools from above: User Rights setup, and was able to imported into the Nav 4.0 SP1 system. I can run the forms with a Development license but not under customer's license, Is there any limitation for this tool to be run on a customer's license as I noticed that the object IDs are all >=70000.
    NAVI-SION
  • ara3nara3n Member Posts: 9,257
    You can renumber them to lower range so that customer can use them. There is no limitation except the table number.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • LittleJohnLittleJohn Member Posts: 12
    ara3n wrote:
    You can renumber them to lower range so that customer can use them. There is no limitation except the table number.

    Thanks A LOT, I just did that, but this time the Form 70006 will not run as it says it need to be compiled(actually it is the code unit 70000 needs to be compiled). When I tried to compile it, error:

    You have specified an unknown variable.
    Main Menu ID
    Define the variable under 'Global C/AL Symbols'

    By the way, other forms are all working fine. And this form worked fine if I made no changes to the txt file(changing the IDs).

    Any idea?
    NAVI-SION
  • ara3nara3n Member Posts: 9,257
    Comment out this code in cu 70000

    //UserSetup."Main Menu ID" := MainMenuID;

    this should do it.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • LittleJohnLittleJohn Member Posts: 12
    ara3n wrote:
    Comment out this code in cu 70000

    //UserSetup."Main Menu ID" := MainMenuID;

    this should do it.

    Thank you!!
    The code unit got compiled while the form was not, I had to change this line on the C/AL code of the form[function FindMainMenu()], from

    CurrenMainMenuID := UserSetup."Main Menu ID"

    to:

    CurrenMainMenuID := 0

    This means that, whatever conditions on the IF statement the result will always be 0, is there any impacts on this?
    NAVI-SION
  • ara3nara3n Member Posts: 9,257
    In older version of navision in usersetup there was a field called Main Menu ID which was removed in 4.0. So it doesn't matter what the code does.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Francis_KONHAWAFrancis_KONHAWA Member Posts: 29
    Thanks very much, I got the tools and I found userrightssetup very interesting.

    Have a nice week
    Best Regards

    Francis K.
Sign In or Register to comment.