mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
fixed bug in ACL: grants from a group to an individual were not working and grants from a group to an other group were wrong
This commit is contained in:
parent
26802319b8
commit
26fd3d2b97
@ -730,8 +730,8 @@
|
||||
}
|
||||
$grants[$grantor] |= $rights;
|
||||
|
||||
// if the right is granted to a group and we enummerated group ACL's
|
||||
if ($granted_to != $this->account_id && $enum_group_acls)
|
||||
// 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)
|
||||
{
|
||||
// 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