forked from extern/egroupware
honor $ignore_acl parameter also for group-owners
This commit is contained in:
parent
be20b14c2c
commit
3f9effad2b
@ -874,7 +874,7 @@ class infolog_bo
|
|||||||
if (isset($this->group_owners[$values['info_type']]))
|
if (isset($this->group_owners[$values['info_type']]))
|
||||||
{
|
{
|
||||||
$values['info_owner'] = $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) ||
|
if (!$this->check_access($values['info_id'],Acl::EDIT) ||
|
||||||
!$values['info_id'] && !$this->check_access($values,Acl::ADD)
|
!$values['info_id'] && !$this->check_access($values,Acl::ADD)
|
||||||
|
Loading…
Reference in New Issue
Block a user