Index: branches/unlabeled/unlabeled-1.14.2/admin/config/addtheme.php =================================================================== diff -u -r5023 -r5359 --- branches/unlabeled/unlabeled-1.14.2/admin/config/addtheme.php (.../addtheme.php) (revision 5023) +++ branches/unlabeled/unlabeled-1.14.2/admin/config/addtheme.php (.../addtheme.php) (revision 5359) @@ -19,6 +19,7 @@ define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) ); require_once FULL_PATH.'/kernel/startup.php'; // new startup: end +checkViewPermission('in-portal:configure_themes'); /* set the destination of the image upload, relative to the root path */ $DestDir = 'kernel/images/';