mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
* All apps: group grants now again return inactive users, was broken since inactive users are no longer shown in user-selections
This commit is contained in:
parent
5bc3440442
commit
95cfb08502
@ -714,8 +714,8 @@ class acl
|
|||||||
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 (false = also for no longer active users)
|
||||||
foreach((array)$GLOBALS['egw']->accounts->members($grantor, true) as $grantor)
|
foreach((array)$GLOBALS['egw']->accounts->members($grantor, true, false) as $grantor)
|
||||||
{
|
{
|
||||||
if (!$grantor) continue; // can happen if group has no members
|
if (!$grantor) continue; // can happen if group has no members
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user