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

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

    XMLWordPrintable

Details

    • MOODLE_36_STABLE
    • 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).

    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

              Unassigned Unassigned
              davosmith Davo Smith
              Jun Pataleta Jun Pataleta
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona), David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              11 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