Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8.1
-
Component/s: Roles / Access
-
Labels:None
-
Environment:Hideubuntu 6.0.6 lts
unicode is required to be installed/enabled. OK
database mysql version 4.1.16 is required and you are running 5.0.22 OK
php version 4.3.0 is required and you are running 5.1.2 OK
php_extension iconv is recommended to be installed/enabled OK
php_extension mbstring is recommended to be installed/enabled OK
php_extension curl is recommended to be installed/enabled OK
php_extension openssl is recommended to be installed/enabled OK
php_extension tokenizer is recommended to be installed/enabled OKShowubuntu 6.0.6 lts unicode is required to be installed/enabled. OK database mysql version 4.1.16 is required and you are running 5.0.22 OK php version 4.3.0 is required and you are running 5.1.2 OK php_extension iconv is recommended to be installed/enabled OK php_extension mbstring is recommended to be installed/enabled OK php_extension curl is recommended to be installed/enabled OK php_extension openssl is recommended to be installed/enabled OK php_extension tokenizer is recommended to be installed/enabled OK
-
Database:MySQL
-
Affected Branches:MOODLE_18_STABLE
-
Fixed Branches:MOODLE_18_STABLE
Description
"Login as" doesn't work.
I'm logged in as admin, then I go into a course, in participants I choose a student, click "login as", get the following message:
"You are logged in as ...."
When I click on "continue" I get following message:
"Sorry, but you can not enter this course as ..."
Issue Links
| This issue is a clone of: | ||||
| MDL-9413 | CLONE -"Login as" doesn't work |
|
|
|
That is strange, you need to have course:view permission for both accounts. Participant has it, but admin should have it too in all courses.
Moodle complains that you (the one trying to login as) do not have course:view permission. Are you using the default 'admin' account or any custom role definition?
I can not replicate it on my test site