Platform admin cannot enter users list of a course he didn't create
- Create a course
- Edit the course (from the admin courses list)
- Assign another teacher to the course and remove yourself (admin)
- Enter the course
- Go to the users tool
The admin should always be authorized to do anything in a course. I suspect the api_is_allowed_to_edit() is not taking api_is_platform_admin() into consideration for some weird permissions reason.
Check master too.
Updated by Julio Montoya over 3 years ago
- Status changed from Assigned to Needs more info
- Assignee changed from Julio Montoya to Yannick Warnier
It works for me. I tried it here:
Course "Julito" the admin can enter with out problems. I changed also the course visibility.
Can you provide an example?