?
avatar Quy
Quy
1 Jun 2020

Steps to reproduce the issue

Log in to the Administration backend as a manager.
Click Add module to the dashboard icon.

Actual result

You don't have permission to access this. Please contact a website administrator if this is incorrect.

avatar Quy Quy - open - 1 Jun 2020
avatar joomla-cms-bot joomla-cms-bot - change - 1 Jun 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Jun 2020
avatar brianteeman
brianteeman - comment - 1 Jun 2020

You identified the error but I think your solution is wrong.

The code says that this should be present
if ($user->authorise('core.create', 'com_modules'))

and a manager does have create access - however a manager does not have access to the admin interface

image

avatar chmst
chmst - comment - 2 Jun 2020

The condition must be <?php if ($user->authorise('core.manage', 'com_modules')) : ?> in com_cpanel default.php, not core.create .

avatar brianteeman
brianteeman - comment - 19 Jun 2020

Please see #29718

avatar Quy Quy - change - 20 Jun 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-06-20 00:10:00
Closed_By Quy
avatar Quy Quy - close - 20 Jun 2020

Add a Comment

Login with GitHub to post a comment