Hi, (re: Moodle 2.6.2 (Build: 20140310))
I am a relatively new user. Am setting up Moodle to experiment with using it to homeschool my 15 year old son through high school.
As I've been setting up some courses, after searching through all the various administration, Course Administration, and Site Administration I could find no place to assign to assign a teacher to the course. I searched through the forums and the documentation with still no success. I've literally spent some hours trying to search this out.
Since I've had this problem, I imagine there may be a few other new users who may also have the same problem: how to assign a teacher (or for that matter, some of the other roles) to a course or a category. I found the documentation on "Managing Roles" and "Assign Roles". On the Assign Roles page there was a paragraph about "Enabling teachers to assign the role of teacher", but not about how to assign a teacher to a course.
Under "Hidden roles" there was a clue though, that said, "Note: By default, the only role which can be assigned to other users is the manager role. To enable other roles, such as teacher to be assigned, the capability moodle/course:view should be allowed for the role." However, even using the link, I could find nothing that said how to enable the "capability moodle/course:view".
After some more searching and experimenting I think I found what was my problem. Since I was still working on the course I had no students "participating" in the course. This is what I did. I went to Administration>Site administration > Users > Permissions > Define roles. From the list of roles, click on the edit Teacher role icon at the left. On the Editing Role page 'Teacher' page, search for "View courses without participation" click Allow. Also, since I wanted my "teachers" (my wife and myself) to be able to be assigned under categories as well as courses, there was another thing to do. Near the top, under Role archetype, I also clicke on the "Category" checkbox. Now you can click Save.
Then either navigate to:
- under course category, go to the Administration menu>Assign Roles. From the list of roles, click on "Teacher" and assign the desired user(s) to the role.
- OR, in your course, go to the Course Administration menu>Users>Other Users. From the list of users in the right pane, click on the Assign Roles button. Role of Teacher will be available.
Hope this saves someone else the trouble I went through to assign a teacher to a course.
Note: after writing this, I decided to just add something in the documentation. So I added a section called Assigning Teachers to the Assign Roles page.