Repository navigation
fix(docs): remove the admin as owner of tags, types and correspondents - #178
Merged
Merged
Conversation
Paperless checks permissions per object. The archivist and the seed created the vocabulary with the admin's token, so the admin owned every tag, correspondent and document type, and a family member signed in through single sign-on saw each of them as "Private". - New entries are created without an owner, so every member with the model right sees them. - On every `stack up docs` with single sign-on, entries the admin owns lose their owner. Entries a member owns stay theirs, and a run with nothing left to change does nothing. - The admin guide says who sees what in Paperless. Closes: #176
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
stack up docswith single sign-on, entries the admin owns lose their owner; entries a member owns stay theirs.bulk_edit_objectswithowner: null, merge: true. Paperless 3.0 never clears an owner whenmergeis true, so the code sendsmerge: falsewithout apermissionskey, which sets the owner and leaves the grants alone.Closes: #176