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

Badges does not include related data in a privacy export

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.6.4
    • Component/s: Badges, Privacy
    • Labels:
    • Testing Instructions:
      Hide

      Testing instructions are different for master and 36 because competency criteria was added only on master.

      MASTER INSTRUCTIONS

      1. Access to "Site administration > Competencies > Import competency framework" and import the competency framework attached to this issue (CCSS.Math-httpcorestandards.orgMath-20170106_0445-comma_separated.csv).
      2. Create a course and add some competencies from the framework to it (you'll need to access to the Competencies section in the navigation bar).
      3. Add a badge to the same course  (will have to use the course menu -> More -> Manage badges).
      4. Add a "manual issue by role" criteria and let the manager issue it.
      5. Add another badge to the same course (will have to use the course menu -> More -> Manage badges). Fill in all the fields (version, language, author's name...).
      6. Add 2 competencies as criteria for the badge and in "This criterion is complete when..." set it to "Any of the selected competencies have been completed".
      7. Add an endorsement to the badge (put some data in all the fields).
      8. Add 2 alignments to the badge (put some data in all the fields).
      9. Add the first badge as a related badge to this one.
      10. Enable access to both badges.
      11. Go to the course competencies page and mark 2 students as proficient (Rate them as "Competent") in one of the competencies listed as criteria for the badge.

      Testing scenario master: duplicate

      1. Duplicate the second badge.
      2. Verify the duplicate has the same criteria, related badges, endorsements and alignments as the original.

      Testing scenario master: backup/restore

      1. Backup the course with competencies and badges options enabled.
      2. Restore the backup to a new course.
      3. Manage the badges in the new course
      4. Verify the new badges have criteria (pointing to the new course competency), related badges (pointing to the new course badges) endorsements and alignments. The badges after restore are not enabled by default.

      Testing scenario master: privacy export

      1. In the original course, find out who a badge was awarded to.
      2. Login as this user and create a new "Data request" for that user to export all personal data.
      3. Login as admin and approve the request.
      4. Run cron.
      5. Login again as this user.
      6. Download all that user's personal data.
      7. In the download file, verify the badge includes data about the endorsement, related badge, alignment and competency criteria.

       

      36 INSTRUCTIONS

      1. Create a course and add a badge to it (will have to use the course menu -> More -> Manage badges).
      2. Add a "manual issue by role" criteria to the second badge and let the manager issue it.
      3. Add another badge to the course.
      4. Add a "manual issue by role" criteria to the badge and let the manager issue it.
      5. Add an endorsement to the badge (put some data in all the fields).
      6. Add 2 alignments to the badge (put some data in all the fields).
      7. Add the first badge as a related badge to this one.
      8. Enable access to both badges.
      9. Login as a manager and issue the first badge to a student.

      Testing scenario 3.6: duplicate

      1. Duplicate the first badge.
      2. Verify the duplicate has the same criteria, related badges, endorsements and alignments as the original.

      Testing scenario 3.6: backup/restore

      1. Backup the course with the badges option enabled.
      2. Restore the backup to a new course.
      3. Manage the badges in the new course.
      4. Verify the new badges have the same criteria, related badges (pointing to the new course badges) endorsements and alignments. The badges after restore are not enabled by default.

      Testing scenario 3.6: privacy export

      1. In the original course, find out who a badge was awarded to.
      2. Login as this user and create a new "Data request" for that user to export all personal data.
      3. Login as admin and approve the request.
      4. Run cron.
      5. Login again as this user.
      6. Download all that user's personal data.
      7. In the download file, verify the badge includes data about the endorsement, related badge, alignment.
      Show
      Testing instructions are different for master and 36 because competency criteria was added only on master. MASTER INSTRUCTIONS Access to "Site administration > Competencies > Import competency framework" and import the competency framework attached to this issue (CCSS.Math-httpcorestandards.orgMath-20170106_0445-comma_separated.csv). Create a course and add some competencies from the framework to it (you'll need to access to the Competencies section in the navigation bar). Add a badge to the same course  (will have to use the course menu -> More -> Manage badges). Add a "manual issue by role" criteria and let the manager issue it. Add another badge to the same course (will have to use the course menu -> More -> Manage badges). Fill in all the fields (version, language, author's name...). Add 2 competencies as criteria for the badge and in "This criterion is complete when..." set it to "Any of the selected competencies have been completed". Add an endorsement to the badge (put some data in all the fields). Add 2 alignments to the badge (put some data in all the fields). Add the first badge as a related badge to this one. Enable access to both badges. Go to the course competencies page and mark 2 students as proficient (Rate them as "Competent") in one of the competencies listed as criteria for the badge. Testing scenario master: duplicate Duplicate the second badge. Verify the duplicate has the same criteria, related badges, endorsements and alignments as the original. Testing scenario master: backup/restore Backup the course with competencies and badges options enabled. Restore the backup to a new course. Manage the badges in the new course Verify the new badges have criteria (pointing to the new course competency), related badges (pointing to the new course badges) endorsements and alignments. The badges after restore are not enabled by default. Testing scenario master: privacy export In the original course, find out who a badge was awarded to. Login as this user and create a new "Data request" for that user to export all personal data. Login as admin and approve the request. Run cron. Login again as this user. Download all that user's personal data. In the download file, verify the badge includes data about the endorsement, related badge, alignment and competency criteria.   36 INSTRUCTIONS Create a course and add a badge to it (will have to use the course menu -> More -> Manage badges). Add a "manual issue by role" criteria to the second badge and let the manager issue it. Add another badge to the course. Add a "manual issue by role" criteria to the badge and let the manager issue it. Add an endorsement to the badge (put some data in all the fields). Add 2 alignments to the badge (put some data in all the fields). Add the first badge as a related badge to this one. Enable access to both badges. Login as a manager and issue the first badge to a student. Testing scenario 3.6: duplicate Duplicate the first badge. Verify the duplicate has the same criteria, related badges, endorsements and alignments as the original. Testing scenario 3.6: backup/restore Backup the course with the badges option enabled. Restore the backup to a new course. Manage the badges in the new course. Verify the new badges have the same criteria, related badges (pointing to the new course badges) endorsements and alignments. The badges after restore are not enabled by default. Testing scenario 3.6: privacy export In the original course, find out who a badge was awarded to. Login as this user and create a new "Data request" for that user to export all personal data. Login as admin and approve the request. Run cron. Login again as this user. Download all that user's personal data. In the download file, verify the badge includes data about the endorsement, related badge, alignment.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull 3.6 Branch:
    • Pull Master Branch:
      MDL-64702-master

      Description

      The following additional pieces of data were added to badges in 3.6, but the privacy API does not include any of them.

      Related badges, alignments, endorsements.

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                damyon Damyon Wiese
                Reporter:
                damyon Damyon Wiese
                Peer reviewer:
                Mark Nelson
                Integrator:
                Sara Arjona (@sarjona)
                Tester:
                Anna Carissa Sadia
                Participants:
                Component watchers:
                Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/May/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours, 30 minutes
                  6h 30m