- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 09:37 PM
Hi, I am working on Service Operations Workspace and want this chrome tab ("New Change Request") to be available for just a specific role user and not itil. How can I achieve this with ACL's ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 11:31 PM
Hi @axtsxna
That tab is managed through UX Page Property named chrome_tab.
At the condition > tableDescription > canCreate, this is only visible if the user can create a record on that table.
So you can change the ACL Create in the table to control the visibility of the item accordingly.
{
"label": {
"translatable": true,
"message": "New Change Request"
},
"routeInfo": {
"route": "create-change-request-page",
"fields": {},
"multiInstField": ""
},
"condition": {
"tableDescription": {
"table": "change_request",
"canCreate": true
}
}
}
In the other hand, if you wouldn't like to change the ACL, you can modify the property by adding new attribute roles into the condition to apply specific for workspace.
Sample
{
"label": {
"translatable": true,
"message": "New Change Request"
},
"routeInfo": {
"route": "create-change-request-page",
"fields": {},
"multiInstField": ""
},
"condition": {
"tableDescription": {
"table": "change_request",
"canCreate": true
},
"roles": ["admin"]
}
}
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2024 11:53 PM
Hi @axtsxna
The M2M Applicability could be the thing you're looking for. Try to check the List Applicabilities [sys_ux_applicability_m2m_list] table and see whether those lists have been associated to an Applicability that contains your custom role.
Let's have a look to the nice post below for details how to config List Applicability.
Ref: Configuring Lists in Configurable Workspace
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2024 11:26 PM
Yes. Your syntax looks correct, and the following should work
"roles": ["role_1","role_2"]
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 03:48 AM
Hi Tai Vu,
How to restrict using audience(sys_ux_applicability) instead of roles.
Thank you !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 12:37 AM
Hi @Tai Vu ,
Yeah , I added roles in conditions as you said...now its working for me.
Thanks for the help !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2024 11:43 PM
Hi @Tai Vu ,
I wanted to ask about one more rquirement :
In Service Operations Workspace , List Menu is not coming for non-admin users. It is coming for itil and admins but not for a custom role which I created and that role is even having access to every module which is there in the list. It is showing grant access to list from admin but the role is already having access. How can I achieve this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2024 11:53 PM
Hi @axtsxna
The M2M Applicability could be the thing you're looking for. Try to check the List Applicabilities [sys_ux_applicability_m2m_list] table and see whether those lists have been associated to an Applicability that contains your custom role.
Let's have a look to the nice post below for details how to config List Applicability.
Ref: Configuring Lists in Configurable Workspace
Cheers,
Tai Vu