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

Course badges can still be accessed though URL when course badges setting is disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Badges
    • Labels:
    • Testing Instructions:
      Hide

      1. The easiest way to test is to open the pages related to course badges (such as, badges/index.php, badges/view.php, badges/newbadge.php, badges/edit.php, badges/criteria.php, badges/overview.php, badges/recipients.php) .
      2. In site administration > badges settings, turn off course badges.
      3. Try reloading open pages.
      4. Should get an error that course badges are not currently enabled.

      Show
      1. The easiest way to test is to open the pages related to course badges (such as, badges/index.php, badges/view.php, badges/newbadge.php, badges/edit.php, badges/criteria.php, badges/overview.php, badges/recipients.php) . 2. In site administration > badges settings, turn off course badges. 3. Try reloading open pages. 4. Should get an error that course badges are not currently enabled.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-39209_master

      Description

      Need to add checks for empty($CFG->badges_allowcoursebadges) on the front end pages.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

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