GUACAMOLE-474: Add protocol options for disabling file upload/download.

This commit is contained in:
Virtually Nick
2019-12-25 17:57:40 -05:00
parent a0bac666db
commit 69b727e8af
3 changed files with 40 additions and 0 deletions

View File

@@ -205,6 +205,16 @@
"name" : "drive-name", "name" : "drive-name",
"type" : "TEXT" "type" : "TEXT"
}, },
{
"name" : "disable-download",
"type" : "BOOLEAN",
"options" : [ "true" ]
},
{
"name" : "disable-upload",
"type" : "BOOLEAN",
"options" : [ "true" ]
},
{ {
"name" : "drive-path", "name" : "drive-path",
"type" : "TEXT" "type" : "TEXT"
@@ -395,6 +405,16 @@
{ {
"name" : "sftp-server-alive-interval", "name" : "sftp-server-alive-interval",
"type" : "NUMERIC" "type" : "NUMERIC"
},
{
"name" : "sftp-disable-download",
"type" : "BOOLEAN",
"options" : [ "true" ]
},
{
"name" : "sftp-disable-upload",
"type" : "BOOLEAN",
"options" : [ "true" ]
} }
] ]
} }

View File

@@ -189,6 +189,16 @@
{ {
"name" : "sftp-root-directory", "name" : "sftp-root-directory",
"type" : "TEXT" "type" : "TEXT"
},
{
"name" : "disable-download",
"type" : "BOOLEAN",
"options" : [ "true" ]
},
{
"name" : "disable-upload",
"type" : "BOOLEAN",
"options" : [ "true" ]
} }
] ]
} }

View File

@@ -172,6 +172,16 @@
{ {
"name" : "sftp-server-alive-interval", "name" : "sftp-server-alive-interval",
"type" : "NUMERIC" "type" : "NUMERIC"
},
{
"name" : "sftp-disable-download",
"type" : "BOOLEAN",
"options" : [ "true" ]
},
{
"name" : "sftp-disable-upload",
"type" : "BOOLEAN",
"options" : [ "true" ]
} }
] ]
}, },