Starts in:
1 DAY
23 HRS
45 MIN
17 SEC
Starts in:
1 D
23 H
45 M
17 S
Open Closed

File Management #2142


User avatar
1
Rrader30 created
  • ABP Framework version: v4.3.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Seperated
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I am utilizing the File Manegement module for vendors to upload documents to the system. I built a custom service which takes the files and generates a vendor specific folder and sub-folders within File Management. In order for me to get this to work, I had to give permissions to Directory and Files. The issue I am having is now the menu is showing up for the vendors which now gives them access to all the folders and files. My question is, can the folder/files only show for that specific vendor or can the menu item be removed for vendors but show for admins or other groups. If so, how can this be done?

Normally, for other screens I create seperate permissions and limit it in the menu under providers/route.provider.ts file, but not having source for File Manager makes this a little bit more challenging.


3 Answer(s)
  • User Avatar
    0
    AlderCove created

    @Rrader30, we need to do something similar.

    I think the File Management module is an incomplete feature without the ability to manage permissions to folders, or at least utilize in a way that provides a root folder as an entry point to the UI, so that the user is restricted to only that folder and its subfolders.

    There's an open issue for Resource based authorization integration: https://github.com/abpframework/abp/issues/236

    Have you found workable a solution yet that you can share?

    Thanks Jamie

  • User Avatar
    0
    Rrader30 created

    @AlderCove, I did find a way around this. I simply wrote my own file management piece. I am creating a blob container based on the guid of the contractor. I am saving all the files for them in their own container. I was sure hoping to utilize the out of box file management, but not ready for prime time yet.

  • User Avatar
    0
    AlderCove created

    @Rrader30

    Appreciate for info, was hoping to utilize out of the box too but will have to craft my own as well.

    Marketplace for modules would be nice!

    Thanks

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06