From 0300a0692f6d388f5a1b3d3c23d2a2ee0cf1d18b Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 25 Jun 2023 09:20:25 -0500 Subject: add option to enable remote file management --- src/slskd/Core/Options.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 1d9f814c..c438c03c 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -31,7 +31,6 @@ namespace slskd using NetTools; using slskd.Authentication; using slskd.Configuration; - using slskd.Cryptography; using slskd.Relay; using slskd.Shares; using slskd.Validation; @@ -158,6 +157,14 @@ namespace slskd [Description("allow remote configuration")] public bool RemoteConfiguration { get; init; } = false; + /// + /// Gets a value indicating whether remote file management is allowed. + /// + [Argument(default, "remote-file-management")] + [EnvironmentVariable("REMOTE_FILE_MANAGEMENT")] + [Description("allow remote file management")] + public bool RemoteFileManagement { get; init; } = false; + /// /// Gets the unique name for this instance. /// -- cgit v1.2.3