how to hide workspace for specific groups or role

SuT
Tera Contributor

Hi all,

I want to hide asset workspace from specific groups. I tried using ACL for ux path but didn't get any success.

Any happy would be highly appreciated,

 

Thanks

Su

13 REPLIES 13

SuT
Tera Contributor

No, it's not working, I tried with both the applications. I am using below script for to restrict the users with "heaplus_user" to access Asset workrspace

answer = !gs.getUser().hasRole('heaplus_user');

@SuT Ux_route ACL works very well.

 


1. You need to logout after creating the ACL.

2. Can you share the screenshot of your ACL.

SuT
Tera Contributor

yeah sure, using 2 read ACL of type "ux_route" as below:

 

SuTyagi_2-1756443004336.png

 

SuTyagi_1-1756442950557.png

 

 

1. You need only 1 ACL.

2. Your 1st screenshot does not show the script, but the configuration is fine. so the script should be something like:

answer = true;

if(gs.getUser().isMemberOf('sys_id of group'))
answer = false;

 

3. Why do you have 2 ACLs? you can deactivate the 2nd one.

4. After making changes to ACL, you can relogin if it does not work.

@SuT did this work?