Custom Role: Edit course settings

Custom Role: Edit course settings

Ricardo Caiado -
回帖数:2
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+
回复Ricardo Caiado

Re: Custom Role: Edit course settings

Helen Foster -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 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.

回复Helen Foster

Re: Custom Role: Edit course settings

Ricardo Caiado -
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