Skip to content
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

"groups" filed on index metadata do not get filled with the actual groups on the acls.json file #2231

Open
corrreia opened this issue Dec 12, 2024 · 1 comment

Comments

@corrreia
Copy link

Please provide us with the following information:

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

- [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

Deploy the app with auth and acl´s turned on, configure the acls file, run all the scripts needed.

Any log messages given by the failure

None

Expected/desired behavior

groups field to be filled the the groups id's that have permissions to "view the file"

OS and Version?

win 10

azd version?

azd version 1.11.0

Versions

Mention any other details that might be useful

After configuring the json with the perms all the scripts (adlsgen2setup.py and prepdocs.ps1) everything goes well but the groups metadata tag never gets to have any groups.

image


Thanks! We'll be in touch soon.

@corrreia
Copy link
Author

I might be wrong, but I think the function update_content in searchmanager.py that actually updates the acl's in the index is never ran on the files contained on the ADLS, it works with user uploaded content but never with the content on the storage account.

image
when a user uploads a file it runs, so the acls get updated on the index metadata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant