Replies: 9 comments 29 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.
-
I have been using DekiWiki for nearly 20 years before it was commercialised into MindTouch. Until now, I have been unable to find anything to replace it with. Trilium is DekiWiki without the user privileges. It's the simplicity of DekiWiki, that made it very useful. You could re-skin it to make web sites, and hide the login page. It would default to read-only, and became very popular with web developers. All Trilium needs, is the ability to create users, and groups, with read/write attributes which can be attached to documents. |
Beta Was this translation helpful? Give feedback.
-
I think it would be easier to implement a system where multiple users can have a DB in a single server, and leave collaboration for the future. If there was a minimum level of LDAP integration this could be a great tool in the enterprise. There are already collaboration and sharing tools like SharePoint and OneNote, that most companies use, but those tools are slow and hard to use when one just wants to keep some notes. And you end up with people having hundreds of untitled notes in Notepad++ that are impossible to organize or search. As stated, it's a personal knowledge base, and I'd really love to put it in my workplace, so each worker can have their personal knowledge base without concerns for sensitive data being posted in some random cloud service. But I cannot deploy and manage one instance per user. Give me multi-user with LDAP integration so I can rely on AD authentication and group membership for the access, and I would start immediately doing the paperwork to get the app approved in my workplace. The behaviour of the Windows application sync'ing with the web server is perfect for our use case, users can run the Windows app in their company laptop and have access to their notes even offline, and as soon as VPN is available then they can sync with the server, which we can make sure is properly backed up. Also, our security team will be very happy to approve an open source project that will always keep the data within the company infrastructure. |
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