Closed adpe closed 4 years ago
New important information!
The error will be only displayed like reported above if the course is hidden
. When the course is visible
all is working like it should. But the error is thrown when the course is hidden
and the permissions are set like mentioned above.
Hi Adrian,
I thought I understood your problem and tried to examine your problem today, but I have to admit that I was not able to reproduce it locally. It seems to be a rare combination of edge cases.
Could you please give me a full set of steps to reproduce, based on a plain installation of Moodle 3.7?
Otherwise, please give an update if you were already able to examine this problem further and to create a patch.
Thanks, Alex
Hi @adpe ,
do you have any additional news for me about this issue?
Thanks, Alex
Hello @abias
I was on holidays and nobody takes it over on our end. I'll have a look to this issue during this day.
Greets, Adrian
Thank you, @adpe , for providing an updated pull request. I will have a look at it within or shortly before our 3.8 release.
Thanks, Alex
Hello @abias
We've following problem on our platform. If a manager is accessing a user profile within the course
https://FQDN/user/view.php?id=XXX&course=XXX
toLog in as
another user following error is displayed:But in the background you're logged in as the other student. And the error is only displayed, if
manager
is not assigned in system-context. We've assigned the manager on a course-category context. So the solution is, to assign the role system-wide in the meantime.I'll have a look to your code and provide a solution if I fixed it.
Greets, Adrian