I just hav a serius problem wich appeared after changing the role-assingment and a role in my system. Changing back deos not solve the problem.
I already asked in the german forum, but till now there ist no answer
I had set up a new role as a copy from the course creator.
In a certain course category I have given this role in addition to the existing rights the rights to course backup and restore.
Now I have handled this role, new name, new description and assigned the additional role of these rights globally.
In course category above are now the appropriate role assigned to the teachers (the real persons), but they can not access any course "This course is not open to the public." If course are created by this teachers, after saving the message above comes up, but the course has been created.
This applies to all courses in the system, although the role has the rights to.
A second problem:
I want the students can create their own courses. For this I created a course category and all the students assigned the local role of a course creator.
It appears the same problem as described above.
There is only one global role in the system, the administrator. All other roles are localy mapped to the appropriate course categories. No user has more than one local role in the same course category.
How can we solve the problem?
A change back of the role does not solve the problem.
If I assign any user the role course creator or this extended course creator globaly, I have the same behaviour. Only the system administrator has access to the courses.
Even in newly created course categories (top level) and Sub-categories I have the same behavior.
That is the ouput of rolesdebug.php
user = xxxxxx (xxx yyy)
capability = mod/course:create ("course:create")
context = Course category10 (Kursbereich: Nicht öffentlicher Bereich)
R7 = Authentifizierte/r Nutzer/in
R13 = Kursverwalter+
|Kernsystem||Nicht öffentlicher Bereich|
Can do anything = false
Can do this = false
Role for visitors = Besucher
Role for guest = Besucher
Default role for all users = Authentifizierte/r Nutzer/in
Default role for users in a course= Teilnehmer/in
Creators role in a new course = Kursverwalter+
Default front page role = ?
"Kursverwalter+" is a new role with the course creator role as a base and with the additional rights for course backup, recovery rate and course import.
The same output I get for "capability = mod / course: view".
The role was assigned to the user as a local role for the course area "Nichtöffentlicher Bereich" (non public area). Local rights were not changed.
Results of operation:
1st The user can create courses. Here rolesdegub.php may created a false output.
2nd The user can not look at the created course.
Why can not the course creator watch a self-made course?
If I set the right localy "mod / course: view = allowed", nothing changes the behavior, the course is not viewable.
What is going wrong here?
Desperately needed help with that problem.
Thanks and regards