diff --git a/.gitignore b/.gitignore index 6772a69665f3b..b936fdbaa9b6e 100644 --- a/.gitignore +++ b/.gitignore @@ -103,7 +103,7 @@ RoboFile.ini !/tests/System/output/screenshots/.gitkeep /tests/System/output/videos !/tests/System/output/videos/.gitkeep -cypress.config.js +cypress.config.mjs # WebAuthn FIDO metadata cache /plugins/system/webauthn/fido.jwt diff --git a/administrator/components/com_cpanel/tmpl/cpanel/default.php b/administrator/components/com_cpanel/tmpl/cpanel/default.php index c649ae1eb09c5..8a28c306c2f94 100644 --- a/administrator/components/com_cpanel/tmpl/cpanel/default.php +++ b/administrator/components/com_cpanel/tmpl/cpanel/default.php @@ -57,7 +57,7 @@ echo ModuleHelper::renderModule($module, ['style' => 'well']); } ?> - authorise('core.create', 'com_modules')) : ?> + authorise('core.admin', 'com_modules') && $user->authorise('core.create', 'com_modules')) : ?>