Merge pull request #10750 from xini/patch-6
FIX: Group visibility for SITETREE_GRANT_ACCESS permissions
This commit is contained in:
commit
a42bb856c3
|
@ -635,6 +635,11 @@ class Group extends DataObject
|
|||
return true;
|
||||
}
|
||||
|
||||
// if user can grant access for specific groups, they need to be able to see the groups
|
||||
if (Permission::checkMember($member, "SITETREE_GRANT_ACCESS")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue