How to restrict project workspace access

Balakrishna_ABK
Tera Guru

We have given access to it_project_manager for project workspace module but when other user tries to open it directly by link he can do it. How to restrict it ?

Akhil7842_0-1704343704988.png

 

1 REPLY 1

Shruti Khaire
Kilo Sage

Hello @Balakrishna_ABK,

 

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.

ShrutiKhaire_0-1704347232275.png

 

ShrutiKhaire_1-1704347252409.png

 

ShrutiKhaire_2-1704347270674.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.

 

Hope it helps!