Skip to content

Commit 1937c6c

Browse files
committed
Fixed access permission to provider config
1 parent 846052d commit 1937c6c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

front/provider.form.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
include ('../../../inc/includes.php');
66

7+
Session::checkRight("config", UPDATE);
8+
79
if (!isset($_GET["id"])) {
810
$_GET["id"] = "";
911
}

front/provider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
include ('../../../inc/includes.php');
44

5+
Session::checkRight("config", UPDATE);
6+
57
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
68
Html::header(__sso('Single Sign-on'), $_SERVER['PHP_SELF'], "config", "pluginsinglesignonprovider", "");
79
} else {

0 commit comments

Comments
 (0)