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

Refactor course/index.php & course/category.php to increase roles compatibility

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Not a bug
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: Course
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      At the moment the category display and manipulation code is spread accross course/index.php and course/category.php with all the category manipulation being effectively in index.php (counter-intuitively). No editing is available once a sub-category is entered/displayed. However, the roles mechanism allows permissions to manipulate categories to be granted at the sub-category level, but no interface currently exists to support this. This would, IMHO, be a very useful enhancement as in large Moodles the ability to give people pseuo-administrator control at the category level (where, say a category represents a department) would be desireable.

      The proposal is to refactor into just one script file that provides full category manipulation at any 'node' of the category tree.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                howardsmiller Howard Miller
                Reporter:
                howardsmiller Howard Miller
                Tester:
                Nobody
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: