diff --git a/infolog/inc/class.infolog_so.inc.php b/infolog/inc/class.infolog_so.inc.php index 9b9253c7da..8e9eb4a750 100644 --- a/infolog/inc/class.infolog_so.inc.php +++ b/infolog/inc/class.infolog_so.inc.php @@ -128,9 +128,9 @@ class infolog_so $access_ok = $owner == $this->user || // user has all rights // ACL only on public entrys || $owner granted _PRIVATE (!!($this->grants[$owner] & $required_rights) || - $this->is_responsible($info) && // implicite rights for responsible user(s) and his memberships - ($required_rights == EGW_ACL_READ || $required_rights == EGW_ACL_ADD || $implicit_edit && $required_rights == EGW_ACL_EDIT)); // && - //($info['info_access'] == 'public' || !!($this->grants[$this->user] & EGW_ACL_PRIVATE)); + $this->is_responsible($info) && // implicite rights for responsible user(s) and his memberships + ($required_rights == EGW_ACL_READ || $required_rights == EGW_ACL_ADD || $implicit_edit && $required_rights == EGW_ACL_EDIT)) && + ($info['info_access'] == 'public' || !!($this->grants[$this->user] & EGW_ACL_PRIVATE)); //echo "
check_access(info_id=".$info['info_id'].",required=$required_rights,implicit_edit=$implicit_edit) owner=$owner, responsible=(".implode(',',$info['info_responsible'])."): access".($access_ok?"Ok":"Denied")."
\n"; return $access_ok;