mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
add access level check to user editor
This commit is contained in:
@@ -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") {
|
||||||
|
|||||||
Reference in New Issue
Block a user