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

block_admin / Authorize plugin shows the count of pending orders for every user.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7, 1.8
    • Component/s: Blocks
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE

      Description

      Hi,

      I have seen a small bug in block_admin. The count of pending orders is shown for every user. The user can't manage orders, but can see pending order count.

      The patch attached shows the count of pending orders when an user has_capability('enrol/authorize:managepayments', $context).

      Thanks...

        Attachments

          Activity

            People

            Assignee:
            dougiamas Martin Dougiamas
            Reporter:
            deneme No Body
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              7/Nov/06