Restrict Application Menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Team,
There are already many scoped app created in the instance and we also have created new custom scoped App and application menu for out requirement.
we need to show only our custom application menu in left navigator to 'custom_role' user once they login to system and other OOB application menu should be hidden.
How can I achieve this ?
Thanks !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @DS14,
To achieve your goal, you need to perform two main steps:
1. Assign Your Custom Role to Your Application Menu:
Navigate to System Definition > Application Menus and open your custom application menu. In the Roles field, add your custom_role. This ensures only users with this role can see it.
2. Restrict All Other Application Menus:
This is the critical part. Other menus are visible because they are either public (the "Roles" field is empty) or assigned a common role that your user might also have (like itil). To hide them from your custom_role user, you must ensure those other menus have roles that your user does not.
For Public Menus: You must edit the application menus that have an empty Roles field and add a role, such as snc_internal or itil. This makes them visible only to users with that role and hides them from your custom_role user (assuming your custom role does not contain itil or snc_internal).
For Existing Menus with Roles: Ensure your custom_role user does not have any of the roles that grant access to other menus (like itil, admin, etc.). The most common mistake is giving a user both custom_role and itil, which would grant them access to both sets of menus.
By properly configuring the roles on all application menus and ensuring your users only have the specific role they need, you can effectively create a tailored navigation experience.
Hope this helps!
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution and helpful so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
application menus can be shown based on role.
You cannot directly restrict.
you can use query business rule on application menu table and handle it
Before Query business rule to hide an Application from user
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader