You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [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
Upload document with name fileA.pdf using prepdocs.sh
Upload different document with name fileA.pdf using user-upload feature from webapp
Use manageacls.py to add ACL for fileA.pdf to user B. It'll search for all files named fileA.pdf, including ones that were user uploaded, since it doesn't have a way to distinguish user-uploaded from admin-uploaded.
Suggested resolution
Add a field "sourcepath" or "blobpath" in searchmanager setup that will will contain the full path of the document: storageaccount/container/directory
Add that field to manageacls.py enable_acls as well
Set that field from both user-upload and prepdocs ingestion path
Perhaps provide a script to auto-adjust existing paths?
Note in the login_and_acls doc that a longer path must be specified for manageacls. Though we could provide an argument or shortcut for saying "default".
The text was updated successfully, but these errors were encountered:
pamelafox
added
the
open issue
A validated issue that should be tackled. Comment if you'd like it assigned to you.
label
Apr 12, 2024
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Suggested resolution
The text was updated successfully, but these errors were encountered: