mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-12 07:23:21 -05:00
Only show "My Plugins" admin page to site admins
This commit is contained in:
parent
fdca0915c5
commit
09ac73c738
@ -1361,8 +1361,8 @@
|
|||||||
QV('p2ServerActionsVersion', siteRights & 16);
|
QV('p2ServerActionsVersion', siteRights & 16);
|
||||||
QV('MainMenuMyFiles', siteRights & 8);
|
QV('MainMenuMyFiles', siteRights & 8);
|
||||||
QV('LeftMenuMyFiles', siteRights & 8);
|
QV('LeftMenuMyFiles', siteRights & 8);
|
||||||
QV('MainMenuMyPlugins', (pluginHandler != null));
|
QV('MainMenuMyPlugins', ((pluginHandler != null) && (siteRights & 0xFFFFFFFF)));
|
||||||
QV('LeftMenuMyPlugins', (pluginHandler != null));
|
QV('LeftMenuMyPlugins', ((pluginHandler != null) && (siteRights & 0xFFFFFFFF)));
|
||||||
if (((siteRights & 8) == 0) && (xxcurrentView == 5)) { setDialogMode(0); go(1); }
|
if (((siteRights & 8) == 0) && (xxcurrentView == 5)) { setDialogMode(0); go(1); }
|
||||||
if (currentNode != null) { gotoDevice(currentNode._id, xxcurrentView, true); }
|
if (currentNode != null) { gotoDevice(currentNode._id, xxcurrentView, true); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user