Details

    • Sub-task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.9
    • None
    • Roles / Access
    • None
    • MOODLE_19_STABLE

    Description

      I have a teacher assigned in course.

      The same teacher is assigned in a news forum as a teacher and as a student.
      Student role has a prevent override set in the news forum for addnews capability.

      So under the old roles system, the prevent on the student role should kick in because of its aggregate level of 70*100+70 = 7070.
      Under the new system it's ranked same as the teacher assignment, so allow and prevent cancel out, and we look up and fetch the capability of the teacher at the course context (allow returned).

      I am not sure this matters or not.

      Attachments

        Activity

          People

            martinlanghoff Martín Langhoff
            lazyfish Yu Zhang
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: