I have a role that is allowed to create/edit courses and upload content to the courses in a particular category. Everything seems to be working fine, with one exception. I was looking at the user policy setting that let's you define the role a user is assigned in a course they create. This sentence is what is confusing me: This role is not assigned if creator already has needed capabilities in parent context.
In our setup, we have a role named Course Director. This is granted at the category level. These users are allowed to create and manage courses in that category. However, there are some limitations. We do not allow them to see grades and a few other things. This is the role we have as the setting in user policy. As I am reading the description from the user policy page, it seems like this role should not be automatically assigned at the course level since the user already has these permissions at the category level. It doesn't seem to be working since the user that created the course is still getting the role assigned at the course level.
I understand that we can allow the course director to unenroll themselves from the course, but we can't always be sure that they are going to do that. We do not want these users listed as a participant of the course and we do not want them receiving emails from forum posts. Our site is way to big to manually go in and unenroll them from the course.
Am I not understanding the setting in user policy that says the role will not be assigned if the user already has the capabilities in the parent context? I assume the parent context of the course is the category.