Mohit Yadav 7175afb0cd Domain Policy Update to be non-system (#19060)
(cherry picked from commit 3578a4b32d605494d44073bfe3fb82742a62b93e)
2024-12-16 13:51:22 +05:30

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';