Permission requirements in paperless-ngx #228
Replies: 2 comments 3 replies
-
Just understood that paperless-ai also creates tags beyond "ai-processed". Yet, those tags are rather "ridiculous" (in my opinion). Some examples:
Some of those tags may be meaningful to some people (e.g. someone who wants to tag by location, e.g. Frankfurt), but I assume for most those tags are not relevant. I removed the permission to create tags from the paperless-ai user and request that the paperless-ai does not create tags (and correspondents) unless someone explicitly requests to do so (i.e. via config flag). |
Beta Was this translation helpful? Give feedback.
-
Most users I came accross here use the users that was created during paperless-ngx first setup or other super users. You can of course limit it to only the needed permissions. To answer your questions:
|
Beta Was this translation helpful? Give feedback.
-
Hi, I refer to this issue: #226
I did check the source code, basically the paperlessService and found the following usages against paperless-ngx-API:
Get information from paperless
GET /tags/
GET /correspondents/
GET /documents/
GET /user/
Updates
POST /tags/
=> e.g. to create the "ai-processed" tag on setup. Not sure if more tags would be created!
POST /correspondents/
=> used to create new correspondent derived by AI model
PATCH /documents/
=> removeUnusedTagsFromDocument
=> add tag to document (e.g. the ai-processed tag)
=> add correspondent, if there is no correspondent assigned to the document
This would result in the following privileges required:
Document: read and edit
Tag: read and add
Correspondent: read and add
User: read
Why I start this discussion?
Beta Was this translation helpful? Give feedback.
All reactions