mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
This will now allow RELATIVE_USER_APP to work correctly for the acl_check function.
This commit is contained in:
parent
128a03f3c9
commit
f70f3f0179
@ -947,11 +947,12 @@
|
||||
{
|
||||
if (!is_array ($relatives))
|
||||
{
|
||||
settype($relatives,'array');
|
||||
$relatives = array (RELATIVE_CURRENT);
|
||||
}
|
||||
|
||||
/* Accommodate special situations */
|
||||
if ($this->override_acl)
|
||||
if ($this->override_acl || $relatives[0] == RELATIVE_USER_APP)
|
||||
{
|
||||
return True;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user