Hide contextual side panel button based on roles

deepak0007
Tera Contributor

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 ?

4 REPLIES 4

jasleenmarwaha
Tera Contributor

Hi @deepak0007 

did you find solution for the above issue?

deepak0007
Tera Contributor

yeah there were few ACLs we modified for the same and it worked. I will update it here by tomorrow.

Hi Deepak. Could you share the solution for this?

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.