Log in Perm set

kvbkvb Member Posts: 107
edited 2021-06-30 in NAV Three Tier
Hello all,
I want to create a user with the minimum permissions.
So I just created new permission set via the "Record permission" function.
It's all good, but it's not enough because I cannot "record" what is happening when users log in.
I started manually adding codeunits one by one but looks there are too many of them.

'Basic' role is too much, it's not good to give everybody read access to the value entries for example.

Please, help!

Best Answer

  • kvbkvb Member Posts: 107
    edited 2021-06-30 Accepted Answer
    Okay, here what I have done.

    Luckily, code coverage works globally for all sessions (even if it's not started yet).
    So I gave my boy 'SUPER' perm set,
    next I started the coverage process,
    and finally, run a new Nav client session.

    After login, I stopped coverage and added all caught objects to the 'Minimal rights role'.
    Then I exclude the 'SUPER' perm set.

    Still had some errors - had to add 3 objects to the minimal role manually: TableData 402 for instance,
    but the mission is accomplished now ✌️.

Answers

  • kvbkvb Member Posts: 107
    edited 2021-06-30 Accepted Answer
    Okay, here what I have done.

    Luckily, code coverage works globally for all sessions (even if it's not started yet).
    So I gave my boy 'SUPER' perm set,
    next I started the coverage process,
    and finally, run a new Nav client session.

    After login, I stopped coverage and added all caught objects to the 'Minimal rights role'.
    Then I exclude the 'SUPER' perm set.

    Still had some errors - had to add 3 objects to the minimal role manually: TableData 402 for instance,
    but the mission is accomplished now ✌️.
Sign In or Register to comment.