Hey Gary, Thanks for reporting the issue. However, When I tested, it's working fine with no issues at all.
May I know which browser you are using? Microsoft Edge? or Google Chrome?
Log in to ask Satish Reddy questions publicly or anonymously.
You can use
EntityPrivilegeRule to check if the manager role has specific access on entity.
As per Microsoft Docs:
Use this kind of rule to display ribbon elements when a user has specific privileges for an entity. You must... (More)
There is no need to make a request to Server to get roles of the user.
You can always get it from
var userSettings = Xrm.Utility.getGlobalContext().userSettings; var roles = userSettings.roles;
It returns a collection of lookup objects containing the GUID... (More)
Apparently Microsoft is not restricting the functionality for inactive Project records.
If you want a quick fix, you can disable the buttons using Ribbon Workbench and add the enable rules based on the status of the record.