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

get_users_by_capability is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Roles / Access
    • Labels:
      None

      Description

      As the comment above the function explains, it does not work when a user has two roles, one with a prevent, and one with an allow. See also MDL-12451.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Mar/08