Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-11561 admin tree improvements and bugfixing - meta
  3. MDL-11563

replace hardcoded permission check from admin_tree_block

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      it is fast, but it breaks 3rd party extensions, frontpage editting, etc.
      solution: add has_capability test to files in admin/settings/; one big simple if (has_capability() or has_capability())
      each settings file can decide what to do; the speed should be nearly the same - includes some 10 more file + some has_capability() calls

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skodak Petr Skoda
                Reporter:
                skodak Petr Skoda
                Tester:
                Nobody
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Mar/08