Access control improvements on mobile app.

This commit is contained in:
Ylian Saint-Hilaire
2020-04-17 15:22:51 -07:00
parent 6ca8a392c6
commit ce39ab8691
3 changed files with 8 additions and 4 deletions

View File

@@ -45,6 +45,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
const MESHRIGHT_LIMITEVENTS = 8192;
const MESHRIGHT_CHATNOTIFY = 16384;
const MESHRIGHT_UNINSTALL = 32768;
const MESHRIGHT_NODESKTOP = 65536;
// Site rights
const SITERIGHT_SERVERBACKUP = 1; // 0x00000001