• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0
    • 2.0
    • Roles / Access
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      In 1.9 the permissions depend on all roles user has, but also on role overrides and contexts where roles are assigned. This is very confusing for majority of users. It is not possible to even guess results when user has more than 3 roles.

      The new evaluation uses the same algorithm as other role based systems - first evaluate all roles independently, then verify if user has those roles in given context.

      There are multiple benefits:

      • everybody can simply guess result, it is not necessary to know everything about permissions above current context
      • much, much better performance because we may return result as sql query
      • allows new override UI - simple add/remove roles from overrides

      Spec: http://docs.moodle.org/en/Development:New_permissions_evaluation_in_2.0

        1. permissions_3.patch
          46 kB
          Petr Skoda
        2. Allowed_roles.bmml
          2 kB
          Petr Skoda
        3. Allowed_roles.bmml
          3 kB
          Petr Skoda
        4. Allowed_roles.bmml
          5 kB
          Petr Skoda
        5. Allowed_roles.bmml
          5 kB
          Petr Skoda
        6. Allowed_roles.png
          68 kB
          Petr Skoda

            skodak Petr Skoda
            skodak Petr Skoda
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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