mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
* Infolog: Fix problem Delegated user was not able to edit infolog entrys owned by Groups, if he was not member of that group, and had no grouprights. Implicit rights where not applied; reported in Stylite Tracker#8255;
This commit is contained in:
parent
f323c33d22
commit
1e82a48e37
@ -776,7 +776,7 @@ class infolog_bo
|
||||
$values['info_owner'] = $this->group_owners[$values['info_type']];
|
||||
if (!($this->grants[$this->group_owners[$values['info_type']]] & EGW_ACL_EDIT))
|
||||
{
|
||||
return false; // no edit rights from the group-owner
|
||||
if (!$this->check_access($values['info_id'],EGW_ACL_EDIT)) return false; // no edit rights from the group-owner and no implicit rights (delegated and sufficient rights)
|
||||
}
|
||||
}
|
||||
elseif (!$values['info_id'] && !$values['info_owner'] || $GLOBALS['egw']->accounts->get_type($values['info_owner']) == 'g')
|
||||
|
Loading…
Reference in New Issue
Block a user