Just a quick update. I started asking myself why my previous "go to" solution for TiddlyWiki/TiddlyMap installation, Noteself, wasn't what tried first for multi-user. Given the success I had with it in the past (after some real struggles with CORS) if should have been my default.
Last night I gave it a quick go and it looks good. 1. Performed a CouchDB one-click install on GCP. I might look for a container version in the future. 2. Changed the auto generated CouchDB administrator password and added another admin (named) user 3. Enabled CORS in the CouchDB UI (Fauxton) and added noteself.github.io and my own domain to the allowed domains (this cause me hours of grief months ago - not this time! :-) ) 4. Created a database called noteself in the CouchDB UI. 5. Added an admin and a member users to the database to restrict from public access 6. Created a GCP load balancer. https on the front end with a Google letsencrypt free autogenerated cert. Usual http:5984 to the back end 7. Removed the external interface from the CouchDB compute instance - no direct external access, only through the LB. 8. I could add the Identity aware proxy to this, but don't think I will for now. I will just rely on CouchDB access control 9. Launched the online instance of Noteself from noteself.github.io. Configured Noteself couchdb URL. Was prompted for user and password and sync'd. 10. Dragged and dropped the four TiddlyMap plug-ins to Noteself. Let it sync and reload. 11. Save some apparently innocuous sync errors on startup, looks good. 12. I can create additional wikis by creating new databases on the CouchDB instance and control access for multiple users through CouchDB access control. Noteself synchronizes changes between clients/users including offline work using CouchDB/PouchDB. Also has the benefit of versioning of Tiddlers. I think the versioning capability is where the error is coming from on startup for a few special TiddlyMap tiddlers. There is a defect report on it. https://github.com/felixhayashi/TW5-TiddlyMap/issues/282 Took less than an hour if you remove the problems I had with a missed port number on the load balancer configuration. This is looking good. Many thanks as always to those creating these incredible tools. On Monday, January 28, 2019 at 4:37:32 PM UTC-5, Greg Hodgins wrote: > > Hi all. It's been a few years since I first discovered the incredible > TiddlyWiki and TiddlyMap combination. I find myself with a renewed > interest in trying to get this combination to do what I would like with > respect to IT network documentation - including among other things allowing > multiple users controlled access. I find myself confused with the current > state of affairs given all the apparent options. Native TW multi-user > discussions go way back to 2015 or even earlier. > > Anyhow, the upshot of my question is what the relationship between 5.1.18 > or 19 and Bob? Does native .18 or .19 offer multi-user access - or does > Bob use what TW has implemented? Are they complimentary or competitive > solutions? I seem to be seeing more information on setting up basic access > control with native TW than I can find with Bob. > > I have Bob running in GCP fronted by a load balancer using https on the > front end and basic http on the backend. I am very close to securing > access with IAP (Identity Aware Proxy). It went pretty smoothly although I > am currently getting very frequent and annoying (problematic actually) > Warning : You are no longer connected messages. I can't find any Bob > documentation on establishing user access control. > > Do either implementations offer some basic user definitions and access > control? I don't need fine grained authorization for authenticated users, > but it would be nice to think there would be a user ID associated with any > CRUD operations. > > I think the other option for me might be Noteself, not configured for > "self". :-) I've historically had a Noteself instance up and running in > the cloud with the benefits of couchdb/pouchdb synchronization that works > quite well. I think Noteself has multi-user options too. > > So, unless I am mistaken, hosting multi-user in the cloud could be done > with TW native/node, Bob/node, or potentially Noteself. > > All the choices. :-) What's recommended? > > All the best. > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/47bbe7de-96f0-4567-8e3f-30569ca1a3da%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

