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

Allow badges as criteria for other badges

    XMLWordPrintable

Details

    • MOODLE_33_STABLE
    • MOODLE_35_STABLE
    • MDL-59875_m35v1
    • Moderate
    • Hide

      Manual testing:

      (Assign site badges)
      0. This requires 2 or more users.
      1. Log in as admin
      2. Navigate to Site Administration -> Badges ->Add a new badge
      3. Create a badge named "Badge 1"
      4. Add a criteria of "manual issue by role"
      5. Select "Administrator" and press save.
      6. Enable access to the badge
      7. Create a badge named "Badge 2"
      8. Add a criteria of "Awarded badges"
      9. Select "Badge 1" and press save.
      10. Enable access to the badge.
      11. Click on to "Manage Badges" then "Badge 1"
      11. Award Badge 1 to a user.
      12. Verify that "Badge 2" was also awarded to the same user.

      Perform some exploratory testing using badges as criteria for other badges.  Verify everything works as expected.

      Show
      Manual testing: (Assign site badges) 0. This requires 2 or more users. 1. Log in as admin 2. Navigate to Site Administration -> Badges ->Add a new badge 3. Create a badge named "Badge 1" 4. Add a criteria of "manual issue by role" 5. Select "Administrator" and press save. 6. Enable access to the badge 7. Create a badge named "Badge 2" 8. Add a criteria of "Awarded badges" 9. Select "Badge 1" and press save. 10. Enable access to the badge. 11. Click on to "Manage Badges" then "Badge 1" 11. Award Badge 1 to a user. 12. Verify that "Badge 2" was also awarded to the same user. Perform some exploratory testing using badges as criteria for other badges.  Verify everything works as expected.

    Description

      It would be rather useful if badges could be used as criteria for other badges (meaning require the user to earn the "beginner badge" as criteria for earning the "Intermediate badge"

      This was discussed as part of MDL-39921, however I have a patch that implements this part.

      Attachments

        Issue Links

          Activity

            People

              sbourget Stephen Bourget
              sbourget Stephen Bourget
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Damyon Wiese Damyon Wiese
              Ankit Agarwal Ankit Agarwal
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/18