mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
small bugfix while getting the grants, since analyzing grants for read/write access in infolog returned less results than expected. this was
suggested by Ralf for testing.
This commit is contained in:
parent
5b699573e4
commit
a0cee847a2
@ -731,7 +731,7 @@
|
||||
|
||||
// if the right is granted from a group and we enummerated group ACL's
|
||||
if ($GLOBALS['egw']->accounts->get_type($grantor) == 'g' && $enum_group_acls &&
|
||||
(!is_array($enum_group_acls) || in_array($grantor,$enum_group_acls)))
|
||||
(!is_array($enum_group_acls) || !in_array($grantor,$enum_group_acls)))
|
||||
{
|
||||
// return the grant for each member of the group
|
||||
foreach((array)$GLOBALS['egw']->accounts->member($grantor) as $member)
|
||||
|
Loading…
Reference in New Issue
Block a user