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

Cannot set owner #10

Open
ramteid opened this issue Aug 22, 2023 · 1 comment
Open

Cannot set owner #10

ramteid opened this issue Aug 22, 2023 · 1 comment

Comments

@ramteid
Copy link

ramteid commented Aug 22, 2023

I created a rule in rulesets.d/mycustomrule.yml:

Set owner:
  match: True
  metadata_postprocessing:
    owner:         'myusername'

I successfully verified the rule is processed.

Expectation: For any uploaded document the owner is set to myusername (which is an existing user).

Actual behavior: The owner is not modified.

@jgillula
Copy link
Owner

jgillula commented Aug 24, 2023

Yep! owner was a new metadata field that has been added to paperless-ngx since I first wrote paperless-ngx-postprocessor, so support for it will have to be manually added.

I don't think I'm going to have time to add it myself for at least a couple weeks (this is a minor hobby project, unfortunately), but I'm very open to pull requests and can even give pointers on where to edit the code if someone wants to get to it before I can.

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

2 participants