Details

    • Type: Sub-task
    • Status: Closed
    • Priority: 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

          Attachments

            Activity

            skodak Petr Skoda created issue -
            skodak 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
            skodak Petr Skoda added a comment -

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

            Show
            skodak Petr Skoda added a comment - sending patch - it should give an overview of needed changes, it is not tested much yet
            skodak Petr Skoda made changes -
            Attachment archetypes_7.patch [ 19762 ]
            skodak Petr Skoda made changes -
            Attachment archetypes_11.patch [ 19773 ]
            skodak Petr Skoda made changes -
            Attachment archetypes_7.patch [ 19762 ]
            skodak Petr Skoda made changes -
            Attachment archetypes_11.patch [ 19773 ]
            Hide
            skodak Petr Skoda added a comment -

            done

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10