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:
Ylian Saint-Hilaire
2022-07-05 14:25:38 -07:00
parent 6f11af7cf4
commit e89effac46
3 changed files with 13 additions and 3 deletions

View File

@@ -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",