Skip to content

[Feature Request]: Allow a default group to be set to added tags/correspondents/document types/custom fields #846

@sylaan

Description

@sylaan

Hello clusterzx,

My Paperless NGX is used by multiple users and some of them have to be able to see other user's tags/documents/etc. In Paperless GUI, this is nicely solved by configuring a default group for all created entities, where all needed users are part of.

This is not the case when adding things via API, as paperless-ai is doing, so the end-result is that (for example) other users don't see the tags created by paperless-ai (which uses the token of a specific user).

As far as I understand, the Paperless API allows setting a group for all entities upon creation. I believe this would be an easy fix where paperless-ai would use an environment variable (such as DEFAULT_GROUP or some such, which can contain one or more comma-separated group names, set via .env or via the paperless-ai GUI) when adding new entities to paperless. The required group IDs needed for the actual API create calls can be easily retrieved via API as well.

It would be nice if such a feature would be added, it would make paperless-ai usable for Paperless instances with multiple users part of the same group.

Thanks,
Sylaan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions