- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2020 12:51 AM
Hi All,
I am trying to restrict the non admin users to see the users form default view. There has been reported instances when the ITIL users are able to access their profile by navigating My Profile. Initially their profile shown in self service view.
But users are able to change the view to default view and thus they are able to amend many of the fields. Now we want to restrict users to see default view for users table.
Please help us to fix this.
Regards,
Evan
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2020 03:31 AM
Hey Evan,
just create a View Rule with the following Script, in this way, ITIL users will continue to see the Default View, however if they click on it, they will get automatically force to the ESS view, that's the best you can do so far:
(function overrideView(view, is_list) {
if (gs.hasRole("admin"))
{return;}
answer = "ess";
})(view, is_list);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2020 05:34 AM
Glade to hear it worked finally 🙂
You're welcome.
Cheers
Alberto