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

          Petr Skoda created issue -
          Petr Skoda made changes -
          Field Original Value New Value
          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
          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
          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
          Petr Skoda made changes -
          Attachment archetypes_7.patch [ 19762 ]
          Petr Skoda made changes -
          Attachment archetypes_11.patch [ 19773 ]
          Petr Skoda made changes -
          Attachment archetypes_7.patch [ 19762 ]
          Petr Skoda made changes -
          Attachment archetypes_11.patch [ 19773 ]
          Hide
          Petr Skoda added a comment -

          done

          Show
          Petr Skoda added a comment - done
          Petr Skoda made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Martin Dougiamas made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          QA Assignee nobody
          Martin Dougiamas made changes -
          Workflow jira [ 35425 ] MDL Workflow [ 63944 ]
          Martin Dougiamas made changes -
          Workflow MDL Workflow [ 63944 ] MDL Full Workflow [ 93202 ]

            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: