Custom Role: Edit course settings

Custom Role: Edit course settings

by Ricardo Caiado -
Number of replies: 2
Picture of Particularly helpful Moodlers
Hi,

I'm creating a custon role that needs access to course settings.

I didn't find anything similar to "moodle/course:edit".

There is a "moodle/course:update", but it did not work.

What permissions need to be granted to access course settings?

Ricardo

Moodle v3.11.15+
Average of ratings: -
In reply to Ricardo Caiado

Re: Custom Role: Edit course settings

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Ricardo,

I would expect moodle/course:update to allow a user to edit the course settings. If not, you may have discovered a bug! If you have time, you can report it in the Moodle Tracker.

You could try on the Moodle Sandbox demo site creating a custom role with moodle/course:update allowed, then gradually allow more teacher capabilities, and each time test in another browser whether a user with the custom role can edit the course settings.

In reply to Helen Foster

Re: Custom Role: Edit course settings

by Ricardo Caiado -
Picture of Particularly helpful Moodlers
Hi, Helen.

We have the "editing teacher" role working correctly in our installation. So, I imagine there must be another permission that needs to be granted along with "moodle/course:edit".

But I will do as you suggested.

Ricardo