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

get_users_by_capability is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.9
    • 1.9
    • Roles / Access
    • None

      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.

        1. get_users_by_cap-take-1.patch
          9 kB
          Martín Langhoff
        2. get_users_by_cap-take-10.patch
          31 kB
          Martín Langhoff
        3. get_users_by_cap-take-2.patch
          15 kB
          Martín Langhoff
        4. get_users_by_cap-take-3.patch
          21 kB
          Martín Langhoff
        5. get_users_by_cap-take-4.patch
          22 kB
          Martín Langhoff
        6. get_users_by_cap-take-5.patch
          22 kB
          Martín Langhoff
        7. get_users_by_cap-take-6.patch
          24 kB
          Martín Langhoff
        8. get_users_by_cap-take-8.patch
          27 kB
          Martín Langhoff
        9. get_users_by_cap-take-9.patch
          30 kB
          Martín Langhoff

            martinlanghoff Martín Langhoff (Inactive)
            timhunt Tim Hunt
            Nobody Nobody (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.