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

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.

Community Alums
Not applicable

Can we hide the entire workspaces menu from the banner without restricting access or setting each workspace to inactive? 

Yes with Unified Menu Navigation table we can hide the entire workspaces tab hidden or role specific.