- 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
05-29-2025 12:07 AM
Hi Tai Vu.
I did the tab configuration for sc_cat_item table its working for admins but for non admins it's not working. Even I provided the roles seems ACL is blocking it. In that case what needs to be done?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 08:44 PM
Thanks @Tai Vu for the help !!
Do you also know like how can we make details tab as default tab when workspace record page is loaded instead of overview tab ? I did it with script :
function evaluateProperty({ api,helpers}) {
if(api.context.props.selectedTabIndex == 0) {
return 1;
}
return api.context.props.selectedTabIndex;
}
But this script are for tab index so it works just for incident record page but for problem , change,etc record page it doesnt work because of different tab index. I just want to make details tab default when record page is loaded instead of overview tab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 09:03 PM - edited 02-28-2024 09:04 PM
Hi @axtsxna
There you go!
Selected tab index | Dynamically sets the tab that is open by default when bound to data by string queries or data resources. To set the default tab statically, use defaultTabProperty. |
URL: https://<your_instance_name>/nav_to.do?uri=sys_ux_screen.do?sys_id=1a2baf67534130108e4dddeeff7b125f
Changes here will apply wherever the Record SNC is utilized.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 10:30 PM
I tried it @Tai Vu . But its changing even for other records as well. For Example: selected tab index 1 for problem record is problem tasks so its opening that instead of details.
I want details tab as default for all records whether it is change,problem,request,interaction,etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 06:04 AM
Hi @Tai Vu
I did the tab configuration for sc_cat_item table its working for admins but for non admins it's not working. Even I provided the roles seems ACL is blocking it. In that case what needs to be done?