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

Badge - Process manual revoke when the badge has been awarded by a different user

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.10, 3.7.4, 3.8.1
    • Fix Version/s: None
    • Component/s: Badges
    • Labels:
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE

      Description

      process_manual_revoke() within badges/lib/awardlib.php

      throws a BadgeNotFound exception if anyone other than the issuer of the badge attempts to manually revoke a badge.

      Should this either:

      • Allow multiple course admins with the correct role to revoke a badge
      • Throw a different exception stating that the person who issued the badge must be the person to revoke the badge

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            lrc3 Lee Coomber
            Participants:
            Component watchers:
            Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: