Hide contextual side panel button based on roles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2023 05:49 AM
We're in HR Agent Workspace. By default, if we're having HR agent (HR basic) role, agents can see all the contextual side panel buttons for a case like Agent Assist, At a Glace, Response Templates etc.
Since the sn_hr_core.basic role consist of sn_hr_core.case_writer and sn_hr_core.case_reader role. We want to restrict the write permissions for few users. However, they should access the workspace and access the contextual side panel sn_hr_core.case_reader role.
But without sn_hr_core.case_writer role, only the Attachment button is visible in the side panel, rest all are hidden. We tried finding out where the role based conditions are configured but no luck yet.
Let me know if anyone also have the same use case and you achieved it somehow ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 09:48 AM
Hi @deepak0007
did you find solution for the above issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 10:05 AM
yeah there were few ACLs we modified for the same and it worked. I will update it here by tomorrow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 08:37 AM
Hi Deepak. Could you share the solution for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 02:15 AM
Hi @deepak0007, @Priyal Bhardwaj, you may want to check this other post, hopefully it will be useful for you:
https://www.servicenow.com/community/developer-forum/hide-a-component-on-workspace-based-on-role/m-p...
Thanks.