Index: branches/unlabeled/unlabeled-1.15.32/admin/modules/addmodule.php =================================================================== diff -u -r2856 -r5359 --- branches/unlabeled/unlabeled-1.15.32/admin/modules/addmodule.php (.../addmodule.php) (revision 2856) +++ branches/unlabeled/unlabeled-1.15.32/admin/modules/addmodule.php (.../addmodule.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:addmodule'); $pathtolocal = $pathtoroot."kernel/";