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

Multi user capabilites #21

Closed
MarcSN311 opened this issue Jan 30, 2020 · 12 comments · Fixed by #180
Closed

Multi user capabilites #21

MarcSN311 opened this issue Jan 30, 2020 · 12 comments · Fixed by #180
Assignees

Comments

@MarcSN311
Copy link

Hi,
from the documentation it is not clear to me whether can organize documents for more than one person independent of each other.

Example: I don't want my girlfrind to see the bills for her birthday presents.

Is that possible?

@eikek
Copy link
Owner

eikek commented Jan 30, 2020

Hi,

I like the idea, but this is currently not possible if you are both members of the same collective.

Currently all members of a "collective" have equal rights regarding documents. Every member can see every document. (I thought that I have somewhere statet this, I'll look into the docs to try being more clear). The use case here is that a household/family might have multiple users to deal with bills/contracts etc. While you can associate people to items, there is no visibility implemented.

You could create a different collective account with yourself as the only member and use this "private" account for things like you described.

@MarcSN311
Copy link
Author

MarcSN311 commented Jan 31, 2020

If we could make one user to be member of multiple collectives that would solve everything.

Collectives: Me, Girlfriend, Household
Girlfriend an I are part of our own collective respectively and we are both part of the household collective.

(I thought that I have somewhere statet this, I'll look into the docs to try being more clear).

you did, I just did not see it for some reason...

@eikek
Copy link
Owner

eikek commented Jan 31, 2020

Ah, that sounds good, indeed! Unfortunately, this requires a change in the data model, because the user currently has a to-one relationship to a collective. There are also some other implications. The user must then have a unique login name and you wouldn't login into a collective, but rather only using your login and see documents from all your collectives. Then there needs to be something like a "collective owner" that can add/remove users etc …. I have to think more about it. I really like the idea, I wish I had talked to you before creating the current state :). It seems like a fundamental change.

@MarcSN311
Copy link
Author

I do understand, that this has major implications. If you are generally inerested in this Idea I would fork the project and start hacking around. I'm new to Scala and ELM though, so don't expect anything to soon ;)

@eikek
Copy link
Owner

eikek commented Feb 4, 2020

Yes, sure I'm interested! I also thought about a naive way by optionally associating a user to an item to create "private" items that can be filtered. But your idea is better; it is similiar to how organizations work on github I think. I just don't know really how to implement it without changing almost everything.

Never worry about any timeline, I also have only little time for these things.

@eikek
Copy link
Owner

eikek commented Jun 23, 2020

Hi, I thought a little bit about this recently and I'm now considering using your idea within a collective. So a user would create a "space" (no good idea for a name yet) and assign other users to it. Only an owner (the user who created it) can assign users to a space. An item can be associated to a space. Then a user sees all items that either have no space assigned or a space that he/she is a member of. This can be used to have "private items" and also for other organizational things.

@eikek
Copy link
Owner

eikek commented Jun 29, 2020

Hi @MarcSN311 , just want to reach out to ask if you already put some effort into this. I'd like to start to explore the idea above, but wanted to check for your status here first.

@eikek eikek self-assigned this Jul 3, 2020
@eikek eikek mentioned this issue Jul 14, 2020
@mergify mergify bot closed this as completed in #180 Jul 14, 2020
@eikek
Copy link
Owner

eikek commented Jul 14, 2020

Hi @MarcSN311 , in upcoming 0.9.0 there is now the possibility to create "folders" and associate users to them. Items can be placed into a folder and only users that are members of this folder can see them.

@sanbroz
Copy link

sanbroz commented Jun 27, 2022

Hi, Currently a user is able to list and delete another user accounts in Collective Settings. I think a user should not be allowed to delete or modify another user account. A user with same collective & user name can be assumed master admin account which can modify all other user accounts.

@eikek
Copy link
Owner

eikek commented Jun 27, 2022

Hi @sanbroz true, currently all users are equal in a collective. Please create new issues for new things, this one is almost 2 years old, closed - and also about something different :).

@cirrusflyer
Copy link

I just started using Docspell. It's really nice, but I also don't understand user management. Is there an admin user?

@eikek
Copy link
Owner

eikek commented Feb 16, 2023

Hi @cirrusflyer , there is no admin user in docspell. However, the user who installs docspell can use some admin functionality through the cli. May I kindly ask to create new issues for new questions? It.s much easier to track and find later. You can always open new issues and ask anything or alternatively go to the gitter chat, if you prefer.

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

Successfully merging a pull request may close this issue.

4 participants