Workspaces: How to hide/ restrict users Workspace based on roles

Vijay Talupula
Tera Guru
Tera Guru

Workspaces: How to hide/ restrict users Workspace based on roles as per the below screenshot.

Workspaces menu on the instance banner, and this will display the available workspaces to the users, we have a requirement to restrict users (based on Roles) from accessing a specific workspace from the Workspaces menu on Next experience banner.

 

VijayTalupula_0-1671195011674.png

 

 

1 ACCEPTED SOLUTION

Harish Kota
Kilo Sage

Hi Vijay,

 

To hide a workspace, you can configure 2 read ACLs of ‘type:ux_route’

for that workspace and add required roles to allow users to access it.

  1. Read ACL type ux_route with name = now.<workspace URL path>.home
  2. Read ACL type ux_route with name = now.<workspace URL path>.*

For example:
To hide access to CSM/FSM workspace,

  1. Get the workspace URL Path by navigating to the table: "sys_ux_page_registry"
  2. URL path for the record: "CSM/FSM Configurable Workspace" is "cwf/agent"
  3. Configure one read ACL of type: "ux_route" with Name: now.cwf.agent.home and another read ACL type: ux_route with the Name: now.cwf.agent.* and add required roles to these ACLs in order to allow users with mentioned roles only can access the workspace.
  4. If the workspace URL contains "/" replace it with "." in the ACL name.

HarishKota_1-1671196287119.pngHarishKota_2-1671196294523.pngHarishKota_3-1671196352612.png

 

In the same way you can do this for the remaining workspaces as well.

 

Note: The above steps will hide the workspace from the banner Workspaces menu only.

 

Thanks,

Harish Kota

 

If the solution works for you, please hit like/Accept as solution.

View solution in original post

9 REPLIES 9

Sam M
Tera Contributor

Hi,
I was trying to hide the cmdb and Platform Analytics Workspace as the CSM/FSM but it didn't work. is there something I am missing?
now.platform-analytics-workspace.* 

now.platform-analytics-workspace.home 
now.cmdb.home
now.cmdb.*

Hi @Sam M ,

 

Were you able to hide the cmdb and Platform Analytics Workspace as the CSM/FSM ?

 

Thanks,

Aneesha

Sam, did you find an answer for this? Same issue here.

AneeshaJaleel
Tera Contributor

Hi @Harrison Weese 

 

I just found out that there are already existing ACLs for the other workspaces. So instead of creating new ones, you can just edit the existing ones with the required roles. I just tried and it worked.

 

Please mark as helpful if this worked 

Thanks,

Aneesha