mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-25 18:01:28 +00:00
add access level check to user editor
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
|
||||
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"];
|
||||
|
||||
if ($subop == "edit") {
|
||||
|
||||
Reference in New Issue
Block a user