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

get_users_by_capability is broken

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.9
    • 1.9
    • Roles / Access
    • 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

              martinlanghoff Martín Langhoff
              timhunt Tim Hunt
              Nobody Nobody
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Mar/08