XrmDefinitelyTyped icon indicating copy to clipboard operation
XrmDefinitelyTyped copied to clipboard

Add Security Roles to the retrieved context

Open TomMalow opened this issue 6 years ago • 0 comments

There are use cases where certain security roles should have elevated access/privilege to some fields on a form and currently this is done through comparing the users security roles with a string. This can cause issues if the security role is renamed or deleted which will not be detected in the code.

XrmDefinitelyTyped should fetch security roles as part of the retrieved context to allow asking if the current user has the a specific privilege when forking on a form or part of a form

TomMalow avatar Feb 15 '18 08:02 TomMalow