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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9
    • 1.9
    • Administration
    • None
    • MOODLE_19_STABLE
    • 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

              skodak Petr Skoda
              skodak Petr Skoda
              Nobody Nobody
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Mar/08