Fix a permission bug
This commit is contained in:
@@ -203,7 +203,7 @@ class OrganisationPermissions extends BaseSeed
|
|||||||
'promote_organistion_member_own' => new Permission([
|
'promote_organistion_member_own' => new Permission([
|
||||||
'slug' => 'promote_organistion_member',
|
'slug' => 'promote_organistion_member',
|
||||||
'name' => 'Promote organisation member/Demote organisation administrator',
|
'name' => 'Promote organisation member/Demote organisation administrator',
|
||||||
'conditions' => "is_organisation_admin(self.id) && (is_organisation_member(user.id,organisation.id) || is_organisation_admin(user.id,organisation.id))",
|
'conditions' => "is_organisation_admin(self.id,organisation.id) && (is_organisation_member(user.id,organisation.id) || is_organisation_admin(user.id,organisation.id))",
|
||||||
'description' => 'Promote an organisation member from your own organisation to administrator status or demote and administrator to member status.',
|
'description' => 'Promote an organisation member from your own organisation to administrator status or demote and administrator to member status.',
|
||||||
]),
|
]),
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user