mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Completed user access rights removal feature, #3065
This commit is contained in:
parent
96f7c048f7
commit
41ecece9a9
6 changed files with 104 additions and 30 deletions
|
@ -911,6 +911,7 @@ require('MeshAgent').AddCommandHandler(function (data) {
|
|||
{
|
||||
switch (data.type) {
|
||||
case 'console': { // Process a console command
|
||||
if ((typeof data.rights != 'number') || ((data.rights & 16) == 0)) break; // Check console rights
|
||||
if (data.value && data.sessionid) {
|
||||
var args = splitArgs(data.value);
|
||||
processConsoleCommand(args[0].toLowerCase(), parseArgs(args), data.rights, data.sessionid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue