mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-14 20:11:52 +00:00
Only show "My Plugins" admin page to site admins
This commit is contained in:
parent
fdca0915c5
commit
09ac73c738
1 changed files with 2 additions and 2 deletions
|
@ -1361,8 +1361,8 @@
|
|||
QV('p2ServerActionsVersion', siteRights & 16);
|
||||
QV('MainMenuMyFiles', siteRights & 8);
|
||||
QV('LeftMenuMyFiles', siteRights & 8);
|
||||
QV('MainMenuMyPlugins', (pluginHandler != null));
|
||||
QV('LeftMenuMyPlugins', (pluginHandler != null));
|
||||
QV('MainMenuMyPlugins', ((pluginHandler != null) && (siteRights & 0xFFFFFFFF)));
|
||||
QV('LeftMenuMyPlugins', ((pluginHandler != null) && (siteRights & 0xFFFFFFFF)));
|
||||
if (((siteRights & 8) == 0) && (xxcurrentView == 5)) { setDialogMode(0); go(1); }
|
||||
if (currentNode != null) { gotoDevice(currentNode._id, xxcurrentView, true); }
|
||||
|
||||
|
|
Loading…
Reference in a new issue