moodleou / moodle-block_workflow

The OU's workflow block for Moodle.
9 stars 7 forks source link

Added new commands: addrolemember and removerolemember #9

Open nagai-takayuki opened 3 years ago

nagai-takayuki commented 3 years ago

I added two new commands: addrolemember and removerolemember.

In my use case, I use Moodle course as a kind of peer review system. With these commands, users with special roles (ex. editors, reviewers) are temporary assigned to specific groups according to editorial workflow.

timhunt commented 3 years ago

Thank you very much for working on this. This looks like a useful addition.

I am just wondering if we can improve the wording of the command to make it more obvious what it does? (It is very difficult to think of something which is clear.) What about?

groupsadd <role> to <idnumber1>, ...
groupsremove <role> from <idnumber1>, ...

Two other comments:

Thanks again.