mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
"fixed bug: InfoLog's delegated to a group, could not be changed from group-members"
This commit is contained in:
parent
5c37c5551f
commit
6bacbb1eca
@ -507,7 +507,10 @@ class boinfolog
|
||||
{
|
||||
$responsible =& $values['info_responsible'];
|
||||
}
|
||||
$status_only = in_array($this->user, $responsible); // responsible has implicit right to change status
|
||||
if (!($status_only = in_array($this->user, $responsible))) // responsible has implicit right to change status
|
||||
{
|
||||
$status_only = !!array_intersect($responsible,array_keys($GLOBALS['egw']->accounts->memberships($this->user)));
|
||||
}
|
||||
}
|
||||
if ($values['info_id'] && !$this->check_access($values['info_id'],EGW_ACL_EDIT) && !$status_only ||
|
||||
!$values['info_id'] && $values['info_id_parent'] && !$this->check_access($values['info_id_parent'],EGW_ACL_ADD))
|
||||
|
Loading…
Reference in New Issue
Block a user