mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 02:29:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			5 lines
		
	
	
		
			467 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			467 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
| -- Make domain policy and role non-system
 | |
| UPDATE policy_entity SET json = JSON_SET(json, '$.provider', 'user') where name = 'DomainOnlyAccessPolicy';
 | |
| UPDATE policy_entity SET json = JSON_SET(json, '$.allowDelete', true) where name = 'DomainOnlyAccessPolicy';
 | |
| UPDATE role_entity SET json = JSON_SET(json, '$.provider', 'user') where name = 'DomainOnlyAccessRole';
 | |
| UPDATE role_entity SET json = JSON_SET(json, '$.allowDelete', true) where name = 'DomainOnlyAccessRole'; | 
