Skip to content

Allocation by profile #15

Open
Open
@Tsheke

Description

@Tsheke

Hello,
We would like to add new source for allocation by user profile fields (standards and custom fields). We can submit a pull request. The idea is to allocate users by user profiles attributes values as donne with moodle plugin enrol_attributes. Here ara some screen shots. In workplace like a whole state Health Network, there can be hundreds of thousands of users. One can use enrol_programs for users with huge number of profiles changing very often as required by professionnal need (i.e Required trainings for nurses based on their next short time nursing tasks). Creating cohorts for each situationand managing particular cases may become hard to handle. In this situation and many others, allocation by user profile could be a better solution.

Allocation by user profile:

  • avoids growing database size with cohorts records that could be required only for 'enrol_programs' allocation
  • allows creation of more flexible rules for user allocation
  • Is more switable for huges numbers of users, programs and profiles

Our solutions works as follow:

  • Enable 'allocation by user profile' and select allowed profile field in 'enrol_programs' settings
  • Create or edit a programs and add rules for user allocation based on profile attributes values
  • The remaining works almost like cohort allocation.

The following screen shots was done on moodle 4.1. We are updating for moodle 4.5

Image

Image

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions