From f8cb87e5a472b9dc8b68ca57e1483a2a4356396f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 4 Oct 2013 08:42:47 +0000 Subject: [PATCH] missing preferences_acl class uses for user-level ACL access --- preferences/inc/class.preferences_acl.inc.php | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 preferences/inc/class.preferences_acl.inc.php diff --git a/preferences/inc/class.preferences_acl.inc.php b/preferences/inc/class.preferences_acl.inc.php new file mode 100644 index 0000000000..831d21672f --- /dev/null +++ b/preferences/inc/class.preferences_acl.inc.php @@ -0,0 +1,25 @@ + +* @package admin +* @copyright (c) 2013 by Ralf Becker +* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License +* @version $Id$ +*/ + +/** + * Preferences ACL + * + * Uses admin_acl, which already does necessary access-control for non-admin users! + */ +class preferences_acl extends admin_acl +{ + function __construct() + { + translation::add_app('admin'); + egw_framework::includeCSS('admin', 'app'); + } +} \ No newline at end of file