diff --git a/phpgwapi/inc/class.acl.inc.php b/phpgwapi/inc/class.acl.inc.php index 5302de0c36..7ca347117c 100644 --- a/phpgwapi/inc/class.acl.inc.php +++ b/phpgwapi/inc/class.acl.inc.php @@ -644,7 +644,10 @@ { $grants[$grantor] = 0; } - $grants[$grantor] |= $rights; + if(!!($rights & PHPGW_ACL_READ)) + { + $grants[$grantor] = PHPGW_ACL_READ; + } } while(list($nul,$grantors) = each($accounts[$grantor])) {