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
    • Rank:
      35794

      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

        Activity

        Hide
        Petr Škoda added a comment -

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

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

        done

        Show
        Petr Škoda added a comment - done

          People

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

            Dates

            • Created:
              Updated:
              Resolved: