1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added user consent option on desktop connect button.

This commit is contained in:
Ylian Saint-Hilaire 2020-04-14 19:12:14 -07:00
parent 86a823b00a
commit 1f0450529c
3 changed files with 31 additions and 10 deletions

View file

@ -3482,7 +3482,7 @@
// Check device group link permission
var rights = 0, r = mesh.links[userid];
if (r != null) {
if (rights == 0xFFFFFFFF) { return 0xFFFFFFFF; } // User has full rights thru a device group link, stop here.
if (r.rights == 0xFFFFFFFF) { return 0xFFFFFFFF; } // User has full rights thru a device group link, stop here.
rights = r.rights;
}