How to restrict form view based on user role?
						
					
					
				
			
		
	
			
	
	
	
	
	
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2023 03:13 AM
Hi,
I have a requirement to create a view rule on incident table to not display self service view in list for non - admin users, Only admin users should be able to access the 'self service' view option from the context menu of incident.
So, it will be helpful to know if there is any way to hide the self service view from the list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2023 08:04 AM
Trying to figure out how this would be useful as Self Service view contains a subset of the Default View.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
16 hours ago
You can go to the sys_ui_view.list, find the view of Self Service, and add the role of 'admin' to the UI View. This will remove the view form the list and the form for anyone that does not have the admin role. Note, you may need to check if there is any redirect logic in places like business rules or client scripts as well as modules that may be targeting a specific view.
