Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.1.5, 3.2, 3.3, 3.7
-
Fix Version/s: 3.8
-
Component/s: Administration, Roles / Access
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_37_STABLE
-
Fixed Branches:MOODLE_38_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-58439-admin-no-guest
Description
If you are not logged in and you deep link to almost any admin page, then instead of getting prompted to login, you instead get automatically logged in as a guest and then get an error. With debugging on it looks like this:
Access denied
More information about this error
×Debug info:
Error code: accessdenied
×Stack trace: * line 496 of /lib/setuplib.php: moodle_exception thrown
- line 7655 of /lib/adminlib.php: call to print_error()
- line 12 of /admin/auth_config.php: call to admin_externalpage_setup()
These should instead just send you directly to the login page as everyone would expect.