- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2024 05:22 AM
Hi developers, in chrome toolbar I have a problem adding a role that I created
"availability": {
"roles": [
"sn_esg.observer", "sn_grc_metric.manager"
]
}
if I only add 1 role it works, but if I add another one they both don't work, has anyone had the same problem?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2024 06:19 AM
So the way this works is you can do a match ANY role or a match ALL role. What you're currently doing is a match ALL so the user would need both roles. if do you the following then they'd only need one of the two:
"availability": {
"roles": ["sn_esg.observer,sn_grc_metric.manager"]
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2024 06:19 AM
So the way this works is you can do a match ANY role or a match ALL role. What you're currently doing is a match ALL so the user would need both roles. if do you the following then they'd only need one of the two:
"availability": {
"roles": ["sn_esg.observer,sn_grc_metric.manager"]
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2024 02:04 PM
Is it possible to do the opposite? Something along the lines of "Role != <xyz>"