O'Reilly logo

Microsoft Dynamics AX 2012 R2 Administration Cookbook by Simon Buxton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Overriding role permissions

Once you add duties to a role, you are effectively giving the privileges to the user. A privilege contains Permissions and Entry points. As stated earlier, an entry point is how a user (or a system) gains access to a function (for example, open a form or access a service), and a permission is how a user gains access to specific form controls, server-based business logic, and data.

Once the privilege is added (via a duty or directly), the permissions associated with that duty or privilege are also added.

In this recipe, we will override a permission of our goods in the user role to remove access to the BUTTONAPPLYPREPAYMENTS control on the purchase invoice form and to revoke access to the server method, PROJPOST.POSTTRANS ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required