Options
			
				
					
	
			
		
	- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2025 05:04 AM
		1 ACCEPTED SOLUTION
	
		
			Options
			
				
					
	
			
		
	- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2025 08:34 AM
Hi @deepakbisht
Please Use Before Delete
use this script :-
if (!gs.hasRole('admin')) {
   gs.addErrorMessage('You are not authorized to delete this CI.');
   current.setAbortAction(true);
}Kind Regards,
Dushyant Sirohi
		1 REPLY 1
	
		
		
			
			
			
					
	
			Options
			
				
					
	
			
		
	- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2025 08:34 AM
Hi @deepakbisht
Please Use Before Delete
use this script :-
if (!gs.hasRole('admin')) {
   gs.addErrorMessage('You are not authorized to delete this CI.');
   current.setAbortAction(true);
}Kind Regards,
Dushyant Sirohi
