MDL-57251 navigation: Correct permission shows site admin
authorAdrian Greeve <adrian@moodle.com>
Thu, 8 Dec 2016 06:25:32 +0000 (14:25 +0800)
committerAdrian Greeve <adrian@moodle.com>
Tue, 20 Dec 2016 04:51:51 +0000 (12:51 +0800)
commit920edec857127f72443f4086f7f1944d5991e007
treece44af1c1a7f5027bf5f4ff07cbcfb9d407ae27a
parentb1eb88a4e004dc39eb9c1b07746ce105363f6cdb
MDL-57251 navigation: Correct permission shows site admin

If the user does not have the moodle/site:configview
capability then do not show them the site administration
link.
lib/navigationlib.php