Open omoseti opened 1 month ago
Hi, thanks for contacting me
Yes, you can disable functions by the following settings:
@await Component.InvokeAsync("FileManagerComponent", new FileManagerModel() { Id = "FM1", RootFolder = AppDomain.CurrentDomain.BaseDirectory, ApiEndPoint = Url.Action("Index", "FileManager"), Config = new FileManagerConfig() { StorageMaxSizeMByte = 100
DisabledFunctions = new List<string>()
{
// you can disable the following functions
"Search",
"CreateNewFolder",
"CreateNewFile",
"Delete",
"Rename",
"Zip",
"Unzip",
"Copy",
"Cut",
"EditFile",
"Download",
"GetFileContent",
"Upload",
"ToggleView",
"Browse",
"Reload",
"Breadcrumb",
"FoldersTree",
"MenuBar",
"ContextMenu",
"FilePreview",
"View"
}
}
})
From: omoseti @.> Sent: Wednesday, May 29, 2024 1:13 AM To: H-Ghamarzadeh/HGO.ASPNetCore.FileManager @.> Cc: Subscribed @.***> Subject: [H-Ghamarzadeh/HGO.ASPNetCore.FileManager] Hide navigation panel (Issue #1)
Hello?
This is a fantastic component and many thanks for sharing it with us.
I am wondering if it is possible to hide the navigation panel on the left and only show the files in the right panel with limited commands/action like download and upload only. This would only be available to users with limited rights who cannot add/delete/edit files.
— Reply to this email directly, view it on GitHubhttps://github.com/H-Ghamarzadeh/HGO.ASPNetCore.FileManager/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFFX5SCCMPYNASMYGSBY2ITZEUMSTAVCNFSM6AAAAABIN33TXOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDEMJQG4ZDENI. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello?
This is a fantastic component and many thanks for sharing it with us.
I am wondering if it is possible to hide the navigation panel on the left and only show the files in the right panel with limited commands/action like download and upload only. This would only be available to users with limited rights who cannot add/delete/edit files.