remove portfolio, org and user super user special permissions
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
|
||||||
|
DELETE FROM m_role_permission
|
||||||
|
where exists
|
||||||
|
(select 'f' from m_permission p
|
||||||
|
where p.id = m_role_permission.permission_id
|
||||||
|
and p.code in ("ORGANISATION_ADMINISTRATION_SUPER_USER", "PORTFOLIO_MANAGEMENT_SUPER_USER", "USER_ADMINISTRATION_SUPER_USER"));
|
||||||
|
|
||||||
|
|
||||||
|
DELETE from m_permission
|
||||||
|
where code in ("ORGANISATION_ADMINISTRATION_SUPER_USER", "PORTFOLIO_MANAGEMENT_SUPER_USER", "USER_ADMINISTRATION_SUPER_USER");
|
||||||
Reference in New Issue
Block a user