Suppressing CRM Menu Items Based on Privileges
Your first step to simplifying your CRM menu for your users should be to configure security roles that grant READ access to only those entities your users will be working with.
e.g.. take away their permissions to the CASE entity and like magic no more CASE menu item…
Now, this approach only gets you so far. For example you will find you have to give users READ permission to Users and Business Units and as a result the Settings and Administration menus remains visible to them. And you might find you don’t want something like Competitors showing on the menu but you do want users to be able to specify against their Opportunities when they are closing them.
Microsoft have given us a a tool that helps us here – in the Sitemap definition we can add privilege checks to individual menu items. The privilege check looks like this:
I have highlighted in yellow the section of the Sitemap that defines the Competitor menu item. Inside the red box is the privilege check. The addition of this line instructs CRM: “hide the above menu item unless the user is assigned a security role that gives them CREATE permission on the COMPETITOR entity”.
So, once you’ve trimmed back security roles have a look at what your users are left with and where you want something visible only to your super users ask yourself “what permission do my super users have that my normal users don’t?” and add the corresponding privilege check.
Some examples:
- If Queues are used for Case assignment by team leaders, and your standard user does not have permission to assign Cases then add a privilege check to the Queues menu item based on the ASSIGN permission to the CASE entity.
- If you don’t want the SETTINGS menu to appear then you can hide it using this approach but you will need to add the privilege check to each menu item that is appearing under the SETTINGS menu. Consider adding a privilege check to each menu item that references the CREATE permission on the USER entity. This will hide the entire Settings area from everyone except those users who are allowed to create new users.
- In the below example Marketing menu items are each given a privilege check:
Now, if you are struggling to pick a permissions test that will work for you, consider creating custom entities just to support this approach. For example, create a new entity called HiddenMenu and ensure the security role your senior management users are assigned includes READ permission to this entity. Then, in your Sitemap file go to each menu item that you want available only to those senior management users and add a privilege check that requires the user has the READ permission to the HiddenMenu entity. Easy
Leave a Reply Cancel reply
Me
Previous Posts
- Implicit Shares in Microsoft CRM 2011
- Cannot Delete Plug-ins in CRM 2011
- Duplicate Record Button using Jscript in Microsoft CRM 2011
- Shrinking VirtualBox VDI Files
- Global Search Add-ons for Microsoft CRM 2011
- Metro UI coming to Microsoft Dynamics CRM
- Service Contracts & Service Scheduling in Microsoft CRM 2011
- Order Processing Features in Microsoft CRM 2011
- TK Dialogs vs. Microsoft CRM Dialogs
- MyCRM add-ons for Microsoft CRM 2011
- SMS and Fax Integration for Microsoft CRM 2011
- 10 Microsoft CRM Demoing Tips
- Web Resource Upload Utility for Microsoft CRM 2011
- Adxstudio Portal Solutions for Microsoft CRM
- Scribe Insight and Microsoft CRM 2011
- Scribe Online: Replication and Integration Services for MS CRM
- Click Dimensions Email Marketing for Microsoft CRM 2011
- Social Integration for Microsoft CRM 2011 with Parrot
- Introduction to Demo Builder for Microsoft CRM 2011
- Email Marketing add-ons for Microsoft CRM 2011
- Reusable Jscript Library of Common Functions for CRM 2011
- Building Custom Screens using Dialogs and Ribbon Buttons in CRM 2011
- Resco MobileCRM vs. CWR Mobile CRM
- Adding Record Creation Buttons to the CRM 2011 Ribbon
- How to Bulk Create AD Users during a CRM Redeployment
- Upgrading Microsoft CRM 3.0 to CRM 2011
- How to view Ribbon Definitions in CRM 2011
- Displaying the Activity Feed Wall on a CRM Dashboard
- Activity Feeds in Microsoft CRM 2011
- Installing a 2-server CRM 2011 with Service Accounts and Minimum Permissions
- CRM 2011 Duplicate Checking Enhancements in Rollup 5
- VirtualBox Network Configuration for Microsoft CRM 2011
- Working with Display Rules in CRM 2011–Ribbon Customisation
- Call Centre Optimised CRM–An Example Solution
- Launching CRM Forms via Java Script in CRM 2011
- Working With REST Results in CRM 2011
- Quick Create Contact from the CRM Case Form
- Adding a new Button Group to the CRM Ribbon
- Editing Ribbon Buttons in CRM 2011
- Supporting Environment-specific Parameters in CRM 2011 Jscript
- Quick Create Contact from the Phone Call Form
- Defaulting a Lookup field via a REST query at Form Load
- Building a Microsoft CRM 2011 VM – A Quick Checklist
- Microsoft CRM 2011 Outlook Client Command Line Installs
- CRM 2011 Command Line Install for SSRS and Email Router
- Installing CRM 2011 via Command Line and XML Config File
- How to Duplicate a Virtual Box Image
- CRM List View URLs
- Installing the Customer Care Accelerator (CCA) for CRM 2011
- CRM 2011 Dialogs–A couple of gotchas
Tag Cloud
Top Posts
- Jscript Reference for Microsoft Dynamics CRM 2011
- Getting Started with CRM 2011 Online Fetch XML Reporting
- Adding a Button to a CRM 2011 Form Ribbon
- Installing the Customer Care Accelerator (CCA) for CRM 2011
- Reusable Jscript Library of Common Functions for CRM 2011
- Hiding a Ribbon Button in CRM 2011
- Building Custom Screens using Dialogs and Ribbon Buttons in CRM 2011
- Resco MobileCRM vs. CWR Mobile CRM
- Microsoft CRM 2011 Outlook Client Command Line Installs
- Installing CRM 2011 via Command Line and XML Config File



do you know of a list somewhere that tells what the entity name is for each specific entity and how they line up in the security role manager?
I want to remove the dashboard link if the user doesn’t have user dashboard read permission but i have no idea which entity that refers to as there is no dashboard system entity.
You’re blog is awesome. Thanks a lot