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

Support fully deleting badges

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.7
    • Component/s: Badges
    • Labels:
    • Testing Instructions:
      Hide

      To test, you will need two badges (course or site level doesn't matter), both issued to at least one user.

      Part 1.
      1. As Admin go to "Manage badges" page.
      2. Select to delete one of the badges.
      3. Select 'archive' option on the confirmation page.
      4. Make sure that archived badge is not in the list of badges on "Manage badges" page.
      5. Log in as a user who had earned this badge.
      6. Go to "My profile > My badges" page and make sure that a badge is still there.

      Part 2.
      1. As Admin go to "Manage badges" page.
      2. Select to delete another badge.
      3. Select 'delete' option on the confirmation page.
      4. Make sure that archived badge is not in the list of badges on "Manage badges" page.
      5. Log in as a user who had earned this badge.
      6. Go to "My profile > My badges" page and make sure that deleted badge is not displayed on the page.

      Show
      To test, you will need two badges (course or site level doesn't matter), both issued to at least one user. Part 1. 1. As Admin go to "Manage badges" page. 2. Select to delete one of the badges. 3. Select 'archive' option on the confirmation page. 4. Make sure that archived badge is not in the list of badges on "Manage badges" page. 5. Log in as a user who had earned this badge. 6. Go to "My profile > My badges" page and make sure that a badge is still there. Part 2. 1. As Admin go to "Manage badges" page. 2. Select to delete another badge. 3. Select 'delete' option on the confirmation page. 4. Make sure that archived badge is not in the list of badges on "Manage badges" page. 5. Log in as a user who had earned this badge. 6. Go to "My profile > My badges" page and make sure that deleted badge is not displayed on the page.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-40551_master

      Description

      Currently it is not possible to fully delete a badge or un-award a badge that has already been issued.

      This was intentional and reflects the distributed nature of badges - once a user has been given a badge it belongs to them and it cannot be easily taken off them by the issuer.

      However there are some circumstances where it is reasonable to want to remove badge data completely:

      1. Test badges
      2. Revoking an award when a user is found to have cheated
      3. Data retention laws

      See https://moodle.org/mod/forum/discuss.php?d=229293 for more discussion.

      Not being able to delete badge data is also causing some usability issues. For example in this video:

      http://www.youtube.com/watch?v=FX_ggTZjn8I

      The user deletes a badge (13:30) and clearly expects the awarded badges to go away too (15:30).

      I think we should look at this issue again and try to come up with a workflow that will allow badge creators to fully delete badges when it makes sense to do so. The challenge is to make the consequences and limitations of doing so clear.

      One thing that will help is that the open badges specification has moved along since our original implementation and now has support for revoking badges via signed assertions. This will require some changes to the baking and validation code but will make it possible to revoke already issued badges in a more user friendly way.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                17 Vote for this issue
                Watchers:
                19 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/May/14