diff --git a/MeshCentralServer.njsproj b/MeshCentralServer.njsproj
index d6dccd0b..090562db 100644
--- a/MeshCentralServer.njsproj
+++ b/MeshCentralServer.njsproj
@@ -180,7 +180,6 @@
-
@@ -270,6 +269,7 @@
+
diff --git a/meshuser.js b/meshuser.js
index ce863cef..c791b9c7 100644
--- a/meshuser.js
+++ b/meshuser.js
@@ -38,14 +38,15 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
const MESHRIGHT_UNINSTALL = 32768;
// Site rights
- const SITERIGHT_SERVERBACKUP = 1;
- const SITERIGHT_MANAGEUSERS = 2;
- const SITERIGHT_SERVERRESTORE = 4;
- const SITERIGHT_FILEACCESS = 8;
- const SITERIGHT_SERVERUPDATE = 16;
- const SITERIGHT_LOCKED = 32; // 0x00000020
- const SITERIGHT_NONEWGROUPS = 64; // 0x00000040
- const SITERIGHT_NOMESHCMD = 128; // 0x00000080
+ const SITERIGHT_SERVERBACKUP = 1; // 0x00000001
+ const SITERIGHT_MANAGEUSERS = 2; // 0x00000002
+ const SITERIGHT_SERVERRESTORE = 4; // 0x00000004
+ const SITERIGHT_FILEACCESS = 8; // 0x00000008
+ const SITERIGHT_SERVERUPDATE = 16; // 0x00000010
+ const SITERIGHT_LOCKED = 32; // 0x00000020
+ const SITERIGHT_NONEWGROUPS = 64; // 0x00000040
+ const SITERIGHT_NOMESHCMD = 128; // 0x00000080
+ const SITERIGHT_USERGROUPS = 256; // 0x00000100
var obj = {};
obj.user = user;
@@ -1471,6 +1472,18 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
}
break;
}
+ case 'createusergroup':
+ {
+ // TODO
+ //console.log(command);
+ break;
+ }
+ case 'deleteusergroup':
+ {
+ // TODO
+ //console.log(command);
+ break;
+ }
case 'changemeshnotify':
{
var err = null;
diff --git a/public/images/group-256.png b/public/images/group-256.png
new file mode 100644
index 00000000..283e39d5
Binary files /dev/null and b/public/images/group-256.png differ
diff --git a/public/styles/style.css b/public/styles/style.css
index a02230bd..a0712e0b 100644
--- a/public/styles/style.css
+++ b/public/styles/style.css
@@ -253,7 +253,7 @@ body {
}
/* #UserDummyMenuSpan, */
-#MainSubMenuSpan, #MeshSubMenuSpan, #UserSubMenuSpan, #ServerSubMenuSpan, #MainMenuSpan, #MainSubMenu, #MeshSubMenu, #UserSubMenu, #ServerSubMenu, #UserDummyMenu, #PluginSubMenu {
+#MainSubMenuSpan, #MeshSubMenuSpan, #UserSubMenuSpan, #UsersSubMenuSpan, #ServerSubMenuSpan, #MainMenuSpan, #MainSubMenu, #MeshSubMenu, #UserSubMenu, #ServerSubMenu, #UserDummyMenu, #PluginSubMenu {
width: 100%;
height: 24px;
color: white;
diff --git a/views/default.handlebars b/views/default.handlebars
index 3767e4d0..d1e58137 100644
--- a/views/default.handlebars
+++ b/views/default.handlebars
@@ -162,6 +162,15 @@
+