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

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>"]}

 

Awesome !!

SaisravanT
Tera Contributor

Is it possible to restrict icon's visibility based on logged in user's group?

SaisravanT
Tera Contributor

How can we restrict icons based on logged in user's group. The Use case is something like this, if a user is part of a group, he/she should see a set of icons else they shouldn't.