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

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Trivial Trivial
    • None
    • 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
    • Groups
    • MOODLE_24_STABLE, MOODLE_29_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE

      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.

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

            moodle.com Moodle HQ
            jmlsteele Jody Steele
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.