mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-14 03:54:29 +01:00
honor $ignore_acl parameter also for group-owners
This commit is contained in:
parent
ada81b6b5f
commit
64837511aa
@ -874,7 +874,7 @@ class infolog_bo
|
||||
if (isset($this->group_owners[$values['info_type']]))
|
||||
{
|
||||
$values['info_owner'] = $this->group_owners[$values['info_type']];
|
||||
if (!($this->grants[$this->group_owners[$values['info_type']]] & Acl::EDIT))
|
||||
if (!$ignore_acl && !($this->grants[$this->group_owners[$values['info_type']]] & Acl::EDIT))
|
||||
{
|
||||
if (!$this->check_access($values['info_id'],Acl::EDIT) ||
|
||||
!$values['info_id'] && !$this->check_access($values,Acl::ADD)
|
||||
|
Loading…
Reference in New Issue
Block a user