Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-9013

Improve explanation of legacy roles

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 2.0
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Legacy roles were originally created to help with transition to new roles system, but unfortunately the transition is not over yet and sometimes the legacy caps are used for something else than intended.

      Legacy roles are needed for:
      1/ old modules and plugins
      2/ not fully converted code in core - guest access, primary admin, creators in ldap sync, restore, etc.
      3/ upgrades of existing caps
      4/ reseting of existing caps

      In general it should be recommended to set legacy type for roles that are similar to old student/teacher/admin/creator and not set for roles that are assigned to add extra capabilities to users that already have student/teacher-like role

      Possible solutions:
      1/ remove use of all legacy caps from code - the worst problems is legacy:guest; creators are being worked on; it needs extra settings and configuration options which are going to add some more headaches
      2/ improve/redesign reset permissions to defaults
      3/ add help icon to role definition
      4/ improve docs
      5/ implement role templates instead of legacy types - or if the legacy types are not used in code, we could just rename the legacy to template.

      I am afraid we can not do this properly before the 1.8 release

      Any ideas?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Tester:
              Helen Foster
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

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