Fixed missing site right.

Ylian Saint-Hilaire committed Oct 8, 2021 at 20:52 UTC 96da816a69d9665be15e82c2a178334a2d74b424
1 file changed +2 -1
webserver.js
+2 -1
@@ -108,7 +108,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
108 const MESHRIGHT_GUESTSHARING = 0x00080000;
109 const MESHRIGHT_ADMIN = 0xFFFFFFFF;
110
111 - // Site rights
111 + // Site rights
112 const SITERIGHT_SERVERBACKUP = 0x00000001;
113 const SITERIGHT_MANAGEUSERS = 0x00000002;
114 const SITERIGHT_SERVERRESTORE = 0x00000004;
@@ -121,6 +121,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
121 const SITERIGHT_RECORDINGS = 0x00000200;
122 const SITERIGHT_LOCKSETTINGS = 0x00000400;
123 const SITERIGHT_ALLEVENTS = 0x00000800;
124 + const SITERIGHT_NONEWDEVICES = 0x00001000;
125 const SITERIGHT_ADMIN = 0xFFFFFFFF;
126
127 // Setup SSPI authentication if needed