Skip to content

[Feature Request] - [Data Ingestion] - Need a managed solution for file uploads either through UI or custom solution #2453

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 4 tasks
pelonchasva opened this issue Mar 26, 2025 · 3 comments
Labels
enhancement New feature or request ingestion

Comments

@pelonchasva
Copy link

pelonchasva commented Mar 26, 2025

This issue is for a: (mark with an x)

  • bug report -> please search issues before submitting
  • feature request
  • documentation issue or request
  • regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

OS and Version

Windows 10 Pro 22H2 19045.5608

Azd Version

azd version 1.12.0 (commit dc37b930ef8b80340a510c09a6e657ef5bda4f55)

Mention other details that might be useful

Hi @pamelafox,

I'm working on a custom solution using this project and so far everything is good, but now I'm facing a possible blocker. I have enabled the user file upload feature, so that users can upload their own files, but the problem is that those files are only available for the user that uploaded them.

I know that if I want to add files to be available for everyone, I must do so running the manageacl.py script and not specify any OID to it, but the thing is that I do that manually from my local computer, I'm looking for a managed solution either through the app UI or using a custom solution.

I found this other issue (#2215) where you mention that some developers use Azure Functions with a Blob Storage trigger to run the prepdocs.py script to process the files. Is that available in another branch so I can take a look at it? or can you point me where to find such details as I would like to explore that option as well.

In my mind, it would be great to have some sort of Admin page in the app where only certain users with a specific role can access it and then manage the files for these scenarios:

  • GLOBAL: Files that are uploaded for everyone who has access to the app
  • GROUP: Files that are uploaded for a specific azure group, of course this implies adding logic to retrieve the list of groups that are associated with the app and then the administrator will select the group from a dropdown and then upload the files
  • USERS: Files that are uploaded for specific users

I appreciate your time and will be happy to hear from you.

Thank you!

@pamelafox pamelafox added enhancement New feature or request ingestion labels Mar 27, 2025
@Cortex1-NeuroIQ-AI
Copy link

Admin function to upload files with ACL is a great idea. We also need to add enhancement to save user setting preferences. Currently the settings are back to default for each session.

@moelk-atea
Copy link

I have managed to develop a first working (maybe not most optimal) implement the ability for the user to upload documents only for himself or for a group he is a member of. I have done this through ensuring that the create groups are added to the app settings variables so the app can see which groups are of interest. Then I added a frontend feature which enables the user to see which groups he is a member of which are related to this app (not other groups in azure) and when the user wants to upload he can select a group if i wanted to upload for everyone in the group then I will add that group id in the acls in the ingestion.

@cforce
Copy link
Contributor

cforce commented Apr 29, 2025

@moelk-atea Sounds good- but rather telling - show the code 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ingestion
Projects
None yet
Development

No branches or pull requests

5 participants