fix: update policy for project roles
1. update policy for project manage users 2. update policy for project manage user groups Change-Id: I9f0b660fa5457b56f1c5f2d4897e2c4513a3dd5a
This commit is contained in:
parent
206ffc9e92
commit
1f5940fd11
@ -111,7 +111,7 @@ export class ManageUser extends ModalAction {
|
||||
return usersProjectRole;
|
||||
};
|
||||
|
||||
static policy = 'identity:update_project';
|
||||
static policy = ['identity:create_grant', 'identity:revoke_grant'];
|
||||
|
||||
static allowed = () => Promise.resolve(true);
|
||||
|
||||
|
@ -110,7 +110,7 @@ export class ManageUserGroup extends ModalAction {
|
||||
return groupProjectRole;
|
||||
};
|
||||
|
||||
static policy = 'identity:update_project';
|
||||
static policy = ['identity:create_grant', 'identity:revoke_grant'];
|
||||
|
||||
static allowed = () => Promise.resolve(true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user