Multi user permission support #295
-
Hi, This refers to having access control to documents. The multiple users would have their own set of documents. Currently all documents are visible by all users — the authentication is simply to prevent non-users from accessing it. The basic feature set would be:
|
Beta Was this translation helpful? Give feedback.
Replies: 19 comments 39 replies
-
This would be a great feature! As allready mentioned, some implemention ideas are allready discussed in jonaswinkler/paperless-ng#52. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hi, unfortunately, the discussion about a multi user implementation seems not to proceed, so i'd like to kick in. This feature, though wanted from many, seems to be rather complex in clarifying and there are different aspects being reflected in various discussions. A basic functionality is already available in the admin panel, provided by django, though settings there are not handled by the current frontend. A suitable UX-concept is needed to proceed. Regards |
Beta Was this translation helpful? Give feedback.
-
Let me get this straight as I am a bit confused, right now with the latest version even if we set individual user permissions, every users can still view/edit/delete documents right? I noticed this few days ago when I tried to assign users view-only permission but when I logged into their accounts to test they have full permission over the documents. |
Beta Was this translation helpful? Give feedback.
-
In the mean time, if you have the resources on your server and if you are running paperless in a docker container, you could spin a container per user, this way each user has it's own paperless, with it's own consume/media/export folders. If you have a domain name, you could use a subdomain per user, otherwise, just use a different port for each user. That's not ideal, I agree, but that's still works better than the useless user management currently in place. The fact that the original thread on Paperless-ng is almost 2 years old tells me that multi user permission might never be a thing at that point, which might be fine for a single user or a home server, but this is just not usable in a professional context. |
Beta Was this translation helpful? Give feedback.
-
Could you please add some context on this topic? The title and description does not provide much information about what you're asking or why. I have no idea what "multi user permission support" means. |
Beta Was this translation helpful? Give feedback.
-
I'd be already very happy if read-only user could be implemented as first "simple" step. So that these cannot edit and delete. Not knowing if it's really simple to remove these buttons etc. |
Beta Was this translation helpful? Give feedback.
-
First question would be how strict the user management would be.
In that case it would be more of a user filter scenario. Solution 1 needs extensive and careful restructuring as (AFAIK) there is no ownership control implemented in any way. Sharing would require a complete implementation, which is not there yet. Solution 2 sounds very appealing to me, as it could be basically realized by tags and extending the tag mechanism. Adding this to the tag system, paperless needs to be modified to run a permanent filter (which can't be turned of. Basically filtering all documents for a certain user to show only those with the user tag, or group tags (of which the user is a member) explicitly exclude groups and users which are mentioned by a not-tag. This method seems to be less complex to implement. Albeit it might be not water proof, but I believe it would be good for many usage scenarios. |
Beta Was this translation helpful? Give feedback.
-
As an extension of this, since it likely uses the same area of implementation, this may be a way to segment documents, correspondents, etc entirely. Take someone who has:
This could be done by simply having a username for 'me_company1', but I would want all of the settings/correspondents/storage-spaces/etc to all be unique to that login as well. |
Beta Was this translation helpful? Give feedback.
-
Just as an update, we are working on this, but it will come in steps, first 'global' permissions i.e. X user can edit tags, etc then at some point 'object-level' permissions. It is not a small amount of work, thanks for everyone's patience. |
Beta Was this translation helpful? Give feedback.
-
I m in to :) i user paperless to handel family archive but is do not espechely want everyone cas access certen files. So the only solution for the moment is to make in instance for each member. It's a bit a mess ... |
Beta Was this translation helpful? Give feedback.
-
#2147 🎉 (please provide further comments / feedback on the PR) |
Beta Was this translation helpful? Give feedback.
-
Has anything changed with regard to permissions? As I understand it, the Django permissions don't actually work? |
Beta Was this translation helpful? Give feedback.
-
I also need the function. We have about 30 departments and, of course, the people from the order acceptance department are not allowed to see the documents of the managing director. So the whole thing is unfortunately a knockout criterion for us, although I am a fan of paperless in my private life. |
Beta Was this translation helpful? Give feedback.
-
I would be happy if this function is available soon. |
Beta Was this translation helpful? Give feedback.
-
I'm testing the dev version that has correct user rights and it's working great. |
Beta Was this translation helpful? Give feedback.
-
Do we know when the version will be released with the proper user permission settings? |
Beta Was this translation helpful? Give feedback.
-
Users can only see documents they own (added or admin marked them as owners). .../documents/views.py
|
Beta Was this translation helpful? Give feedback.
-
Can someone confirm whether it's still necessary to manually allocate group permissions for each new document? I'm trying to find a way to automatically grant access to specific users or groups for documents that possess a particular tag. However, it seems the permissions of the tag only pertain to viewing or editing the tag itself, and not the objects tagged with this "permission scoped" tag. Is that correct? For instance, let's say we have entities such as mom, dad, child1, child2, grandma, and grandpa in Paperless. While sharing access to all documents amongst these users may not be too problematic, it would be incredibly helpful to have a feature that can help declutter documents for other users. Or does anybody know if the owner/groups are exposed via the pre-/post consumer hooks? Then it would probably be possible to at least change the documents permissions based on the current tags?! Thanks for the great work. |
Beta Was this translation helpful? Give feedback.
#2147 🎉
(please provide further comments / feedback on the PR)