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

superadmin mode does not work for extractors #432

Open
ocaisa opened this issue Nov 6, 2023 · 2 comments
Open

superadmin mode does not work for extractors #432

ocaisa opened this issue Nov 6, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ocaisa
Copy link

ocaisa commented Nov 6, 2023

Describe the bug
I wanted to submit a file for extraction in a space where I did not have rights. After enabling superadmin mode I could do the submission and saw that the extraction succeeded, but the upload of previews and metadata failed. @lmarini pointed out that extractions are always run under user privilieges, so this is an unintended abuse of superadmin.

To Reproduce
Steps to reproduce the behavior:

  1. Enable superadmin mode in a space where you only have read rights
  2. Submit something for extraction
  3. Watch the logs for the extractor when it comes to metadata/preview upload, you will see 401 errors.

Expected behavior
I'm not sure I expect a change in behaviour, but if I did it would be restricting the capabilities of superadmin in the interface to those that it can actually fully use.

@ocaisa ocaisa added the bug Something isn't working label Nov 6, 2023
@ocaisa
Copy link
Author

ocaisa commented Nov 6, 2023

I'm fine if this is closed, I just wanted to put it here for the sake of documentation

@Albertagamergod1
Copy link

I'm fine if this is closed, I just wanted to put it here for the sake of documentation

Please find the fix for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants