mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUACAMOLE-474: Add protocol options for disabling file upload/download.
This commit is contained in:
		| @@ -205,6 +205,16 @@ | ||||
|                     "name"    : "drive-name", | ||||
|                     "type"    : "TEXT" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name"    : "disable-download", | ||||
|                     "type"    : "BOOLEAN", | ||||
|                     "options" : [ "true" ] | ||||
|                 }, | ||||
|                 { | ||||
|                     "name"    : "disable-upload", | ||||
|                     "type"    : "BOOLEAN", | ||||
|                     "options" : [ "true" ] | ||||
|                 }, | ||||
|                 { | ||||
|                     "name"  : "drive-path", | ||||
|                     "type"  : "TEXT" | ||||
| @@ -395,6 +405,16 @@ | ||||
|                 { | ||||
|                     "name"  : "sftp-server-alive-interval", | ||||
|                     "type"  : "NUMERIC" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name"    : "sftp-disable-download", | ||||
|                     "type"    : "BOOLEAN", | ||||
|                     "options" : [ "true" ] | ||||
|                 }, | ||||
|                 { | ||||
|                     "name"    : "sftp-disable-upload", | ||||
|                     "type"    : "BOOLEAN", | ||||
|                     "options" : [ "true" ] | ||||
|                 } | ||||
|             ] | ||||
|         } | ||||
|   | ||||
| @@ -189,6 +189,16 @@ | ||||
|                 { | ||||
|                     "name"  : "sftp-root-directory", | ||||
|                     "type"  : "TEXT" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name"    : "disable-download", | ||||
|                     "type"    : "BOOLEAN", | ||||
|                     "options" : [ "true" ] | ||||
|                 }, | ||||
|                 { | ||||
|                     "name"    : "disable-upload", | ||||
|                     "type"    : "BOOLEAN", | ||||
|                     "options" : [ "true" ] | ||||
|                 } | ||||
|             ] | ||||
|         } | ||||
|   | ||||
| @@ -172,6 +172,16 @@ | ||||
|                 { | ||||
|                     "name"  : "sftp-server-alive-interval", | ||||
|                     "type"  : "NUMERIC" | ||||
|                 }, | ||||
|                 { | ||||
|                     "name"    : "sftp-disable-download", | ||||
|                     "type"    : "BOOLEAN", | ||||
|                     "options" : [ "true" ] | ||||
|                 }, | ||||
|                 { | ||||
|                     "name"    : "sftp-disable-upload", | ||||
|                     "type"    : "BOOLEAN", | ||||
|                     "options" : [ "true" ] | ||||
|                 } | ||||
|             ] | ||||
|         }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user