Replies: 7 comments 15 replies
-
I think this in general is a very good idea to include. As you said, it's probably the most asked for feature from what I've seen. But even from what you've described, there's multiple ways this can be handled. We can have multiple users using the same instance but completely different databases, or we can have them split up but within the same database, or we can do as you suggest with a full permission system that would have users potentially working in the same hierarchies. There's a lot to think about here. The simplest one to do is have multiple users on the same "instance" but using separate databases. That would still allow it to be a personal database rather than a collaboration platform that has users on the same hierarchies. |
Beta Was this translation helpful? Give feedback.
-
I'll add my 2 cents. I'd start by gathering what use cases would Trilium Next want to target. "multi-user" or "permissions" are very generic terms which can span from very simple multi-tenancy to extremely complicated systems. It would be good to find a good balance of the most useful use cases covered, fit to the existing Trilium features / philosophy, and the implementation cost needed. The other thought I have is this - it looks like the new org highest priority is refactoring. I'd recommend focusing on that first before tackling such major features as multi-user. It's good of course to think about the future, but not diverting attention into 10 different directions is IMHO an important consideration too. |
Beta Was this translation helpful? Give feedback.
-
@sigaloid , as developer of trilium.cc, what's your take on this? |
Beta Was this translation helpful? Give feedback.
-
Some kind of multi-tenanncy can be be achieved by running multiple trilium instances with different trilium-data dirs. @rauenzi Having the same database for multiple users would be the best IMO. |
Beta Was this translation helpful? Give feedback.
-
Can add a vote for this. More advanced stuff can be kept in mind during development but might not need to be a primary focus. |
Beta Was this translation helpful? Give feedback.
-
My use case its pretty simple although the implementation may or may not be. The ability to have multiple family members login using their own passwords. Once logged in, permissions (ie Master, Edit, Read-only, Share) could define their access levels to individual branches of the main tree only and propagate down through the sub-branches. A Primary "Master" would have full access to the whole tree. Then the individuals could further control their own branch downward. So For instance.. ROOT (Master) |
Beta Was this translation helpful? Give feedback.
-
to add something: I think High Availability is a must for multi user support, in case there are any very big instances. You can already "chain" multiple servers together, but it would be nice to be able to make "web" of servers instead of just a chain |
Beta Was this translation helpful? Give feedback.
-
So basically I wrote about this earlier in zadam's post about trilium's maintenance status.
This has been one of the major feature quite a lot of people asked for.
Making trilium multi-user friendly, eg:
The major benefit I see here is the traction that TriliumNext would get, ie it would be used in enterprise where people usually document with wiki like systems (ex docuwiki).
Someone stated in the original issue that Trilium is a PERSONAL knowledge base, but IMO tadding optional permissions wouldn't bother people who like to use it that way.
Still il would allow sharing the same knowledge base accross multiple users, personal or professionnal wise.
From a developper point of view, I think the major problem here is that notes hierarchy isn't fixed, and notes can be cloned, so the most complicated part would be to make permissions inheritance on notes that have multiple parents.
This could perhaps be solved by having a note owner, which is the only user which permissions are being inherited.
That of course would also need a way to change the ownership of the notes.
Anyway, I am really hoping this idea to get picked up, since it would probably mean way more people attracted to the project.
Beta Was this translation helpful? Give feedback.
All reactions