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

Add access restriction quickform direct link button to restrictions details dropdown

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-78288-master
    • Hide

      Mainly covered by behat

      Manual testing

      Submitting forms

      1. Log in as admin and create a course with at least section and some activities with grading (i.e. assignment).
      2. Add access restrictions to one section and the activity
      3. Click on the 'Edit settings' link of the section with access restrictions.
      4. Confirm there is no json format text visible in the 'Restrict access' section
      5. Switch edit mode off.
      6. Confirm there is a 'Restrict access' visible and expanded
      7. Confirm there is no 'General' group of settings visible
      8. Add a 'Grade' access restriction choosing one of the gradable activities, enabling 'must be <' but living the % field empty
      9. Click on 'Save changes' button
      10. Confirm there is a 'Restrict access' visible and expanded
      11. Confirm there is no 'General' group of settings visible
      12. Confirm there is an error.
      13. Click on 'Cancel' button
      14. Switch edit mode on
      15. Click on the 'Edit settings' link of the activity with access restrictions.
      16. Switch edit mode off.
      17. Confirm there is a 'Restrict access' visible and expanded
      18. Confirm there is no json format text visible in the 'Restrict access' section
      19. Confirm there is no 'General' group of settings visible
      20. Add a 'Grade' access restriction choosing one of the gradable activities, enabling 'must be <' but living the % field empty
      21. Click on 'Save changes' button
      22. Confirm there is a 'Restrict access' visible and expanded
      23. Confirm there is no 'General' group of settings visible
      24. Confirm there is an error.
      25. Click on 'Cancel' button

      Using showonly for multiple headers

      1. Switch edit mode on
      2. Click on the 'Edit settings' link of the section with access restrictions.
      3. Add ',generalhdr' to the url getting a URL similar to 
        /course/editsection.php?id=xxx&showonly=availabilityconditions,general
      4. Confirm both General and Restrict access sections are visible.
      5. Confirm there are 2 sections visible only
      6. Click on the 'Edit settings' link of the activity with access restrictions.
      7. Add ',modstandardgrade,activitycompletionheader' to the url getting a URL similar to 
        /course/modedit.php?update=xxx&showonly=availabilityconditionsheader,modstandardgrade,activitycompletionheader
      8. Confirm both Grade, Restrict access and Activity completion sections are visible.
      9. Confirm there are 3 sections visible only

       

      Show
      Mainly covered by behat Manual testing Submitting forms Log in as admin and create a course with at least section and some activities with grading (i.e. assignment). Add access restrictions to one section and the activity Click on the 'Edit settings' link of the section with access restrictions. Confirm there is no json format text visible in the 'Restrict access' section Switch edit mode off. Confirm there is a 'Restrict access' visible and expanded Confirm there is no 'General' group of settings visible Add a 'Grade' access restriction choosing one of the gradable activities, enabling 'must be <' but living the % field empty Click on 'Save changes' button Confirm there is a 'Restrict access' visible and expanded Confirm there is no 'General' group of settings visible Confirm there is an error. Click on 'Cancel' button Switch edit mode on Click on the 'Edit settings' link of the activity with access restrictions. Switch edit mode off. Confirm there is a 'Restrict access' visible and expanded Confirm there is no json format text visible in the 'Restrict access' section Confirm there is no 'General' group of settings visible Add a 'Grade' access restriction choosing one of the gradable activities, enabling 'must be <' but living the % field empty Click on 'Save changes' button Confirm there is a 'Restrict access' visible and expanded Confirm there is no 'General' group of settings visible Confirm there is an error. Click on 'Cancel' button Using showonly for multiple headers Switch edit mode on Click on the 'Edit settings' link of the section with access restrictions. Add ',generalhdr' to the url getting a URL similar to  /course/editsection.php?id=xxx&showonly=availabilityconditions,general Confirm both General and Restrict access sections are visible. Confirm there are 2 sections visible only Click on the 'Edit settings' link of the activity with access restrictions. Add ',modstandardgrade,activitycompletionheader' to the url getting a URL similar to  /course/modedit.php?update=xxx&showonly=availabilityconditionsheader,modstandardgrade,activitycompletionheader Confirm both Grade, Restrict access and Activity completion sections are visible. Confirm there are 3 sections visible only  
    • 3
    • HQ 2023 Sprint i2.3 Moppies

      This issue depends on the results of MDL-78210 task.

      In the new activity card design, the availability restrictions (in edit mode) have direct links to edit restrictions on the activity settings page.

      Link to the prototype

            amaia Amaia Anabitarte
            tusefomal Ferran Recio
            Ferran Recio Ferran Recio
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Carlos Escobedo Carlos Escobedo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 4 hours, 37 minutes
                1w 4h 37m

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