Details
Description
Hello,
after upgrading from 1.8.4+ to final 1.9 I have the following problem:
I am teacher of many courses on our Moodle. Most of them I can access without any problem (visible and hidden courses).
But there is one special course, category is hidden, course is hidden, password is set, and I am teacher in this course. Every time I try to access this course, I get the message, that login for participants is not possible right now.
After rechecking, deleting me as teacher and re-adding myself again, no change.
This course is not shown up in the my-moodle and also cannot be accessed directly by using course-id.
As administrator I can access this course without any problem.
Regards, Daniel
Hi Daniel,
to be able to see one course, this must be fulfilled AFAIK:
AND
That way, administrators can hide effectively categories and courses to everybody (teachers in course included). To allow teachers to see courses within a hidden category, the "viewhiddencourses" permission must be grated at category level to teachers.
So, I close this thinking it's not a bug. Feel free to comment / reopen if necessary. Ciao
- course is visible OR user has the "viewhiddencourses" permission (capability) in the course.
AND- category is visible OR user has the "viewhiddencourses" permission (capability) in the category.
That way, administrators can hide effectively categories and courses to everybody (teachers in course included). To allow teachers to see courses within a hidden category, the "viewhiddencourses" permission must be grated at category level to teachers. So, I close this thinking it's not a bug. Feel free to comment / reopen if necessary. Ciao