mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Added options to remove the SSH Connect and SFTP connect from the terminal and files tab when other options exist, #4214
This commit is contained in:
@@ -616,10 +616,18 @@
|
||||
"MaxSingleUserSessions": { "type": "integer", "default": null, "description": "Maximum number of sessions a single user can have. Each time a user opens a new browser tab or opens a new browser on a different computer, a new user session is created." }
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"type": "object",
|
||||
"description": "Values that affect the files feature",
|
||||
"properties": {
|
||||
"sftpConnect" : { "type": "boolean", "default": true, "description": "When false, removes the 'SFTP Connect' button from the files tab unless this is the only possible option." }
|
||||
}
|
||||
},
|
||||
"terminal": {
|
||||
"type": "object",
|
||||
"description": "Values that affect the terminal feature",
|
||||
"properties": {
|
||||
"sshConnect" : { "type": "boolean", "default": true, "description": "When false, removes the 'SSH Connect' button from the terminal tab unless this is the only possible option." },
|
||||
"linuxShell": {
|
||||
"type": "string",
|
||||
"enum": [ "any", "root", "user", "login" ],
|
||||
@@ -637,7 +645,7 @@
|
||||
},
|
||||
"desktop": {
|
||||
"type": "object",
|
||||
"description": "Values that affect the remote desktop feature",
|
||||
"description": "Values that affect the desktop feature",
|
||||
"properties": {
|
||||
"viewonly": {
|
||||
"type": "boolean",
|
||||
|
||||
Reference in New Issue
Block a user