When it comes to testing of appropriate security in Microsoft Dynamics AX, you want to ensure persons will get enough permissions for doing their daily jobs in AX. You don’t want to give too much functionality, namely because of risks. When the user has too less functionality, the normal daily job cannot be executed correctly.
When starting AX2012 the credientials of the windows user is retrieved to log on. A user can have one or more roles to fulfill their daily job. For testing of a security role, in many cases users are created in the Active Diretory for test purposes. When this user is imported in AX, you can assign multiple roles and start testing. To do this, you have to log on as a different user.
With help of the Security Development Tool (SDT), it is possible to open a new test workspace where it will be restricted for a selected role. This is applicable for one role at a time. When it comes to the combinations, I see that many companies again looks for solutions like creating test users, use the consultant or key user for assigning temporary the combination of roles.
It is possible to do this with help of the SDT as well.
How can we achieve this?
When you create a new security role in AX, it is possible to add sub-roles. Include the roles you need in a new ‘Test’ role and you can test the combinations of roles.
Within this post I will also give a walkthrough for creating this role.
That’s all for now. Till next time!