mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 10:39:30 +00:00 
			
		
		
		
	
		
			
	
	
		
			5 lines
		
	
	
		
			467 B
		
	
	
	
		
			MySQL
		
	
	
	
	
	
		
		
			
		
	
	
			5 lines
		
	
	
		
			467 B
		
	
	
	
		
			MySQL
		
	
	
	
	
	
|   | -- 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';
 |