Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Update default media settings - FileManagerEnabledCommands
KrzysztofPajak8a3262c77cec
diff --git a/src/Core/Grand.Domain/Media/MediaSettings.cs b/src/Core/Grand.Domain/Media/MediaSettings.csindex 19b3fa4ff..1eb59798f 100644--- a/src/Core/Grand.Domain/Media/MediaSettings.cs+++ b/src/Core/Grand.Domain/Media/MediaSettings.cs@@ -32,9 +32,9 @@ namespace Grand.Domain.Mediapublic string AllowedFileTypes { get; set; }- public string FileManagerEnabledCommands { get; set; } = "back, chmod, colwidth, copy, cut, download, duplicate, edit, extract, forward, fullscreen, getfile, help, home, info, mkdir, mkfile, open, opendir, paste, places, quicklook, reload, rename, resize, restore, rm, search, sort, up, upload, view, ls";+ public string FileManagerEnabledCommands { get; set; } = "abort,open,file,mkdir,mkfile,parents,tmb,dim,paste,duplicate,get,rm,ls,put,size,rename,tree,resize,search,upload";- public string FileManagerDisabledUICommands { get; set; } = "ping, hide, archive, extract, netmount, netunmount, zipdl";+ public string FileManagerDisabledUICommands { get; set; } = "ping,hide,archive,extract,netmount,netunmount,zipdl";public string StoreLocation { get; set; }