Custom Role: Edit course settings

Custom Role: Edit course settings

Höfundur Ricardo Caiado -
Number of replies: 2
Mynd af 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+
Meðaltal dóma: -
In reply to Ricardo Caiado

Re: Custom Role: Edit course settings

Höfundur Helen Foster -
Mynd af Core developers Mynd af Documentation writers Mynd af Moodle HQ Mynd af Particularly helpful Moodlers Mynd af Plugin developers Mynd af Testers Mynd af 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

Höfundur Ricardo Caiado -
Mynd af 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