Users with snc_internal and cmdb_read role should navigate to esc portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2023 08:48 AM
We added cmdb_read role to snc_interanl role after that end users are navigating to platform UI instead of esc portal.
Now end users always should redirected to esc portal
How we can achieve this requirement?
*Please refer screenshot we added snc_internal role contains cmdb_read role to give end users read access to cis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2023 11:36 AM
Hi @Kishor O,
Here we can implement a custom Global UI script as below
UI Type: Desktop
Global = true
addLoadEvent(function()
{
if(!g_user.hasRoleExactly('itil') && document.URL.indexOf('.do')!= -1)
{
window.location='/sp';
}
else
{return}
});
The script here checks if the user has 'itil' role or not.
You can replace this role as per your business requirement.
Please mark this as solution proposed and helpful if its serves your purpose.
Thanks,
Anand