Hide Configure an UI Action from List Context menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2019 12:13 PM
Hello experts,
I have users who have "ITIL" and "discovery_admin" roles.
I want to hide "Configure" button for such users to avoid scripting, but it must be allowed for admins.
I've added condition gs.hasRole('user_admin') to 'Configure' Context Menu and it works for users who has ITIL role only. For users who have both roles the Configure button is hidden on the list view, but it is still available on the Record Form.
Chrome "Inspect Elements" refers to sys_id 92facc0a8016501f4c4a351133247, but I couldn't find it.
I suppose that this button should be configured not in Context Menu or the discovery_admin role has inherit some developer role for task table .
Does somebody know how to hide Configure button for non-admins on the Record Form?
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2019 12:49 PM
If you navigate to System UI > UI Context Menus, you can find and alter the context menus in your instance. The Configure context menu should be in there.
More info can be found here.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2019 12:54 PM
Hi,
Usually this form header Configure button is visible based on Role the user has.
THanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2019 11:34 PM
I tried to disable all UI Context Menus in order to define what Menu can influence on this button, and I had the same result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2019 01:13 AM
I've solved this issue. I hadn't noticed that discovery_admin role contains business_rule_admin role.
Thanks everyone for help.