mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-25 21:41:28 +00:00
pref-instances: check access level
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
<?php
|
||||
function module_pref_instances($link) {
|
||||
|
||||
if (!SINGLE_USER_MODE && $_SESSION["access_level"] < 10) {
|
||||
print __("Your access level is insufficient to open this tab.");
|
||||
return;
|
||||
}
|
||||
|
||||
$subop = $_REQUEST['subop'];
|
||||
|
||||
if ($subop == "remove") {
|
||||
|
||||
Reference in New Issue
Block a user