mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 09:58:04 +02: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 the right is granted from a group and we enummerated group ACL's
|
||||||
if ($GLOBALS['egw']->accounts->get_type($grantor) == 'g' && $enum_group_acls &&
|
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
|
// return the grant for each member of the group
|
||||||
foreach((array)$GLOBALS['egw']->accounts->member($grantor) as $member)
|
foreach((array)$GLOBALS['egw']->accounts->member($grantor) as $member)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user