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

Document not owned by user, skipping analysis #249

Open
whoisbarry opened this issue Jan 27, 2025 · 2 comments
Open

Document not owned by user, skipping analysis #249

whoisbarry opened this issue Jan 27, 2025 · 2 comments

Comments

@whoisbarry
Copy link

I have Paperless AI up and running with ChatGPT implementation.
API key is generated by an paperless local admin and I'm able to see every document on the web interface.

Nevertheless, when Paperless AI is running on schedule none of the unprocessed documents is processed.
In docker logs I see Document not owned by user, skipping analysis

When I'm analyzing an unprocessed document manually everything works totaly fine and I can save the found correspondants and tags to the document.

An option to process documents not belonging to the linked user would be great!

@clusterzx
Copy link
Owner

Right now paperless-ai can only process documents that belong to the api key user. There were too many people having the issue that paperless-ai would try to access documents it has no rights for (multiple users) and ran in errors. The api can only access documents belonging to the user.

I will try to figure out a solution in the future. Sorry buddy.

@xairam
Copy link

xairam commented Jan 28, 2025

Ah well, I just created a new user for pp-ai. Why is there a problem is it not possible to check for permissions?
Or can we wordkaround the persmissions for now with a tag?

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

3 participants