How to hide particular workspaces based on the user role.

Sanjay33
Tera Contributor

Hi Everyone,

We have an option called 'workspace' on the banner of the san Diego version, and some workspaces are listed over there. How to hide particular workspaces based on the user role. please suggest.

Thank you.

Sanjay.

5 REPLIES 5

SumanthDosapati
Mega Sage
Mega Sage

Hi Sanjay,

You have ACLs for all workspaces.

> Navigate to sys_aw_master_config table (sys_aw_master_config.LIST)

> Open the workspace record you wanted to restrict

> In Related links, you have 'Manage Access'

> Click on it and it will open Read ACL for that workspace.

> You can set the Roles there.

 

Mark as correct and helpful if it solved your query.

Regards,

Sumanth

 

 

Vishnu Prasad K
Giga Guru

Hi Sanjay,

 

Configure the workspace view rules

Severin Reber
Tera Contributor

Hello everyone,

 

I found a solution for this particular case:

- You can configure the read ACL of type "ux_route" for a particular workspace and add role as required.
- Please note that some OOB workspace comes with default ACL- kindly check and modify as required
- If there is no existing ACL for the required workspace, you can create below ACL:
Type: ux_route
Operation: read

Name: now.XXXworkspace.* and another ACL for now.XXXworkspace.home
- Add the role as required

 

Regards

Severin

That was helpful Severin. I had problems with name of ACL but it turned out to be a URL of workspace, e.g 'yourinstance.service-now.com/now/alignment-workspace/home' ACL name should be 'now.alignment-workspace.*' I used asterisk in my case just to be sure. If I would need to block /home part as well, ACL name would like this: now.alignment-workspace.home

Cheers

Sylwester