Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      The original legacy roles were intended as a short term workarounds, soon we discovered we actually need to use them for setting up of defaults and resetting of roles.

      Problems:

      • usage of legacy capabilities
      • unintended modification of admin role - it should not be possible to override admin role, it should be used only in system context
      • negative guest capability - once assigned there is no way to undo it

      Spec at: http://docs.moodle.org/en/Development:Role_archetypes

        Gliffy Diagrams

          Activity

          Hide
          Petr Skoda added a comment -

          sending patch - it should give an overview of needed changes, it is not tested much yet

          Show
          Petr Skoda added a comment - sending patch - it should give an overview of needed changes, it is not tested much yet
          Hide
          Petr Skoda added a comment -

          done

          Show
          Petr Skoda added a comment - done

            People

            • Assignee:
              Petr Skoda
              Reporter:
              Petr Skoda
              Tester:
              Nobody
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: