Enrolment rewrite and role tweaks proposal

Revision as of 17:28, 22 March 2009 by Petr Škoda (škoďák) (talk | contribs) (Why limit enrolment plugins to only assign at course level?)

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Enrolment rewrite and role tweaks proposal.

I don't understand this point, could you clarify what you mean: "parental access not supported in require_login() and other parts" --Dan Poltawski 15:48, 22 March 2009 (UTC)


Why limit enrolment plugins to only assign at course level?

This is the big question I have with this proposal. I think we should allow enrolment plugins to assign roles at any context. This will then allow for external systems to help save time in more scenarios. Two examples I am making up:

  • All geography teachers having rights to manage the geography category,
  • All students of class 11C & 11B being given moderator rights for a forum

If the teacher can then assign these roles by choosing the global groups rather than individually selecting the students this will be a great advantage, save time etc. Limiting the enrolment plugins to only deal with courses limits a lot of future scenarios where having this facility at any context would be advantageous. --Dan Poltawski 16:09, 22 March 2009 (UTC)


Good question Dan. After 1.6 anything sticking out of courses was causing major problems in areas like backup, performance, etc. I hope that global groups have a potential to solve majority of issues. I would personally vote for keeping enrolment plugins course only and setting up new different types of plugins. We could also handle roles above course context in auth plugins and use enrolment plugins for course level and bellow. Course participation is a very important concept, I do think we should keep enrolment plugins strictly for this purpose.

  • All geography teachers having rights to manage the geography category - might be a synchronisation of global group with role assignments in given course category, maybe we could add a new field which links global group; another possibility is to add this into custom auth plugin
  • All students of class 11C & 11B being given moderator rights for a forum - this should be easy with proposed global groups, global groups enrolment plugins would handle course enrolment, role assignments and group membership

--Petr Škoda (škoďák) 17:28, 22 March 2009 (UTC)