mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-28 00:39:19 +01:00
fixed since r29490 not working private attribute
This commit is contained in:
parent
ca68eb8089
commit
34a990e6ac
@ -137,8 +137,8 @@ class infolog_so
|
|||||||
// ACL only on public entrys || $owner granted _PRIVATE
|
// ACL only on public entrys || $owner granted _PRIVATE
|
||||||
(!!($grants[$owner] & $required_rights) ||
|
(!!($grants[$owner] & $required_rights) ||
|
||||||
$this->is_responsible($info,$user) && // implicite rights for responsible user(s) and his memberships
|
$this->is_responsible($info,$user) && // 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)); // &&
|
($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));
|
($info['info_access'] == 'public' || !!($this->grants[$user] & EGW_ACL_PRIVATE));
|
||||||
|
|
||||||
// error_log(__METHOD__."($info[info_id],$required_rights,$implicit_edit,".array2string($grants).",$user) returning ".array2string($access_ok));
|
// error_log(__METHOD__."($info[info_id],$required_rights,$implicit_edit,".array2string($grants).",$user) returning ".array2string($access_ok));
|
||||||
return $access_ok;
|
return $access_ok;
|
||||||
|
Loading…
Reference in New Issue
Block a user