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

add new delimeter and accompanying capability to moodle custom menu in 2.0 core

    XMLWordPrintable

Details

    • MOODLE_21_STABLE, MOODLE_22_STABLE

    Description

      request expansion of Moodle Custom Menu (MDL-22398) to include a visibility/access capability on the system level.

      it would be nice to, say be able to make sure that the menu/item is only available to people with permissions, say it has resources or something that we only want them to have. In addition (this is a pipe-dream) if there could be a delimiter the capability, something like has_capability(moodle/site:viewhiddencustommenu) so that if there were a menu like this:

      Moodle community|http://moodle.org
      -Moodle free support|http://moodle.org/support
      -*Secret Menu|http://moodle.org/secret

      users with the capability to see the items with a * will see them, users without, won't.

      Attachments

        Issue Links

          Activity

            People

              moodle.com moodle.com
              dwahl Daniel Wahl
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              28 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated: