How can I hide a View from certain roles?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2018 12:35 PM
I have several views that I want my ITIL users to see besides default (e.g. metrics, major incident).
However, there are several others I do not want them to be able to access.
I gave ITIL the view_changer role.
Then I went to the UI Views and added role = admin to the views I wanted to hide.
All views are still available to ITIL users when I impersonate. How can this be?
PS - What does the Hide field do on this form (view)?
- Labels:
-
Incident Management
- 2,868 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2018 02:12 PM
Hi Michael,
The hidden checkbox on the view form is used to restrict non-admins to see this view from the selection of views. Other than non-admin people who have this view_changer role will not be able to see the hidden view in the list of views.
Mark the answer as Correct/Helpful based on its impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2018 05:43 AM
That is what I assumed however, when I check this box and save the view is still being shown to non-admin users.
I cannot figure out why.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2018 11:09 AM
There can be a chance of view rules or module with this view. For example, consider Self-service module. under that open incidents, you will be directly redirected to the list of incidents with self-service view. Even though you are having that checkbox checked for self-service view still the nonadmins will be able to see this because the view is forced here.
Please go to studio and search by view name, check if any script exists on that view.