mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
Modernize permission handling
This commit is contained in:

committed by
Johan Cwiklinski

parent
9e17e9d8fa
commit
bcdae86820
@ -40,7 +40,7 @@
|
||||
define('GLPI_ROOT', '../..');
|
||||
include (GLPI_ROOT . "/inc/includes.php");
|
||||
|
||||
Session::checkRight("config", "w");
|
||||
Session::checkRight(Config::$rightname, UPDATE);
|
||||
|
||||
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins");
|
||||
|
||||
|
Reference in New Issue
Block a user