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

        Petr Škoda created issue -
        Petr Škoda 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 Š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
        Petr Škoda made changes -
        Attachment archetypes_7.patch [ 19762 ]
        Petr Škoda made changes -
        Attachment archetypes_11.patch [ 19773 ]
        Petr Škoda made changes -
        Attachment archetypes_7.patch [ 19762 ]
        Petr Škoda made changes -
        Attachment archetypes_11.patch [ 19773 ]
        Hide
        Petr Škoda added a comment -

        done

        Show
        Petr Škoda added a comment - done
        Petr Škoda 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 Škoda
            Reporter:
            Petr Škoda
            Tester:
            Nobody
            Participants:
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: