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

Hide 'Add group/grouping access restriction' when in 'No groups' mode

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      When group mode is set to 'no groups' the 'add group/grouping access restriction' button should be hidden. In all other cases it should be visible.

      If the access restriction has already been added then the button should be disabled (this is pre-existing functionality).

      Show
      When group mode is set to 'no groups' the 'add group/grouping access restriction' button should be hidden. In all other cases it should be visible. If the access restriction has already been added then the button should be disabled (this is pre-existing functionality).
    • Affected Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:

      Description

      In MDL-64557 there is a proposal to hide the 'Grouping' setting when 'No groups' mode is selected on an activity settings form.

      It would be good to also hide the 'Add group/grouping access restriction' button at the same time, but that is out of scope for the above ticket, as it is not possible by simply switching disabledIf => hideIf (as the button is not disabled via disabledIf).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h