Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: