From 1e90ba1cd174db5d4bfc430181b7e4f2ef6cb2aa Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 26 Apr 2017 19:34:07 +0200 Subject: [PATCH] allow access to mounted eTemplates, if there are no filemanager or sitemgr-link app rights --- webdav.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webdav.php b/webdav.php index aca2a72f8a..7e8a99a25c 100644 --- a/webdav.php +++ b/webdav.php @@ -68,6 +68,11 @@ catch (Api\Exception\NoPermission\App $e) { $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 { throw $e;