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.
- Open System administration, Setup, Security, Security roles.
- Click New to create a new role. Provide the AOT name, Name and a description.
- From the left pane with roles, Drag and drop the roles you want to include to the Role content.
At this point, you have created the role you want to test. This example includes a sales clerk who is also responsible for collections as well.
- Open the Security entry point permissions form from the SDT.
- Select the Test Role.
Within the tree you can already see the permissions for this combination.
- Click the button Open the security test workspace. Now you can test in detail if the user can do his daily job within Microsoft Dynamics AX.
That’s all for now. Till next time!
[custom_button style=”btn_small btn_type16″ icon=”icon-th-large” target=”_blank” href=”https://community.dynamics.com/ax/default.aspx”]Microsoft Dynamics AX Community[/custom_button][custom_button style=”btn_small btn_type16″ icon=”icon-rss” target=”_blank” href=”http://www.kaya-consulting.com/author/Andre/feed/”]Subscribe to this blogger RSS Feed[/custom_button]