add access level check to user editor
This commit is contained in:
parent
fc5b8e2b64
commit
85ef21180b
|
@ -3,6 +3,11 @@
|
||||||
|
|
||||||
global $access_level_names;
|
global $access_level_names;
|
||||||
|
|
||||||
|
if (!SINGLE_USER_MODE && $_SESSION["access_level"] < 10) {
|
||||||
|
print __("Your access level is insufficient to open this tab.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$subop = $_GET["subop"];
|
$subop = $_GET["subop"];
|
||||||
|
|
||||||
if ($subop == "edit") {
|
if ($subop == "edit") {
|
||||||
|
|
Loading…
Reference in New Issue