How to show/hide custom icon on Left panel in Risk Workspace based on the role/user group?

RJ12
Mega Guru

Hi all,

Can you please help/guide me in showing/hiding custom icon I've created in the left panel of Risk Workspace based on the role/user group?

My custom icon looks like this : 

RJ12_0-1701304804377.png

Which I've created by updating "chrome_toolbar" UX Page Property. Wondering if there's a way I can make this icon available based on the roles/user group? Thanks

1 ACCEPTED SOLUTION

RJ12
Mega Guru

I got the solution:

So, in the UX Page Property. We can specify roles here:

 

"group": "top",
"badge":{},
"presence": {},
"availability": {"roles" : [
"admin"]}
}

Inside "availability":{"roles":["<role required to access custom icon>"]}

 

View solution in original post

6 REPLIES 6

Hi @SaisravanT 
Not directly supported- requires custom logic to handle visibility based on user groups.
If you can map user groups to roles or create roles that represent user groups, you can use the roles tag in the availability field.

……………………………………………………………………………………………………

Please Mark it helpful 👍and Accept Solution✔️!! If this helps you!!

Fin Nguyen
Tera Guru

you guys can add "show": false in the Json Value

Regards,
Fin Nguyen