Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39170

Group Members should be greyed out if they aren't able to be removed.

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Won't Do
    • 2.4.3, 2.9, 3.2.4, 3.2.5, 3.2.6, 3.3.1, 3.3.2, 3.3.3, 3.4
    • None
    • Groups
    • MOODLE_24_STABLE, MOODLE_29_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE

    Description

      If you have users who's group membership is being controlled by an external resource (right now the only thing in core that does it is enrol_cohort (and it should be done by enrol_meta)) such that xx_yy_allow_group_member_remove returns false for a given itemid/user/group combination, that user shouldn't even be a valid choice in the group_members_selector.

      While cohorts (and meta) are the only plugins that currently makes use of the group_members.component field in core, we (and likely others) have custom modules that also make use of this.

      Attachments

        1. group1.png
          32 kB
          Shamim Rezaie
        2. group2.png
          71 kB
          Shamim Rezaie

        Issue Links

          Activity

            People

              moodle.com Moodle HQ
              jmlsteele Jody Steele
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: