mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +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))
|
if (!is_array ($relatives))
|
||||||
{
|
{
|
||||||
|
settype($relatives,'array');
|
||||||
$relatives = array (RELATIVE_CURRENT);
|
$relatives = array (RELATIVE_CURRENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Accommodate special situations */
|
/* Accommodate special situations */
|
||||||
if ($this->override_acl)
|
if ($this->override_acl || $relatives[0] == RELATIVE_USER_APP)
|
||||||
{
|
{
|
||||||
return True;
|
return True;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user