forked from extern/egroupware
allow access to mounted eTemplates, if there are no filemanager or sitemgr-link app rights
This commit is contained in:
parent
88a168620c
commit
584ebabeed
@ -68,6 +68,11 @@ catch (Api\Exception\NoPermission\App $e)
|
|||||||
{
|
{
|
||||||
$GLOBALS['egw_info']['currentapp'] = 'sitemgr-link';
|
$GLOBALS['egw_info']['currentapp'] = 'sitemgr-link';
|
||||||
}
|
}
|
||||||
|
// allow access to mounted eTemplates, if there are no filemanager or sitemgr-link app rights
|
||||||
|
elseif (preg_match('|/webdav.php/etemplates/|', $_SERVER['REQUEST_URI']))
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_info']['currentapp'] = 'api';
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw $e;
|
throw $e;
|
||||||
|
Loading…
Reference in New Issue
Block a user