mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
* Admin: global categories showed private categories of other users
This commit is contained in:
parent
ebb5244a7a
commit
52d7d6bbcf
@ -505,7 +505,8 @@ class categories
|
||||
}
|
||||
|
||||
// Read access to global categories
|
||||
if ($needed == EGW_ACL_READ && (array_intersect(explode(',',$category['owner']),$this->global_owners) || $no_acl_check) &&
|
||||
if ($needed == EGW_ACL_READ && (array_intersect(explode(',',$category['owner']),$this->global_owners) ||
|
||||
$no_acl_check && $category['access'] == 'public') && // no_acl_check only means public cats
|
||||
($category['appname'] == self::GLOBAL_APPNAME || $category['appname'] == $this->app_name))
|
||||
{
|
||||
//echo "<p>".__METHOD__."($needed,$category[name]) access because global via memberships</p>\n";
|
||||
|
Loading…
Reference in New Issue
Block a user