Thanks Jan. This is partly an experiment to see how well this runs, and how it scales past 2 people with a lot of trust. So I don't have much of an explanation ready for any of this. I am just testing it out. There are no protections in place currently, so break it in all the ways possible. Maybe it can help inform some directions for the node portion TW to make the simplest changes necessary to allow multi user environments.
Some sort of primitive access control to be used by plugins, taking the burden off of the TW devs, maybe? Cardo is a good example of a plugin that works equally well in both single and multi user mode, but multi user could seriously be out of scope of the project. On Sunday, June 23, 2019 at 3:16:43 PM UTC-4, Jan wrote: > > Hello William. > > Very cool! > In Fact it is the first multi-user-node.js-Wiki I could test on the web. I > would love to have more multiple-user demo scenarios with explanation. > > Yours Jan > > Am 23.06.2019 um 06:26 schrieb William Armstrong: > > > > Hello folks, thanks for all the tips and tricks I have been browsing > through for the last 2 months. > > I have setup a basic TW5 node server, and installed the Cardo.json from > cardo.wiki. Adding the credentials option to the node server and readers > and writers permisions, I can get effectively multi user logins. I am using > HTTPAuth as well from nginx. (Webinoly makesit extremely simple to setup a > proxied app, including TW5. I will have to write up a tutorial about that.) > > Now, this setup authenticates the user, but what about conveniences. Cardo > has these great overall views that are built-in for each person, so > normally I would just make that the default tiddler and move on. But that > doesn't work in a muli-user environment. My solution is to use the [[All > Items]] list as the default,and the user can go from there. (If anyone > knows of a way the Author tag can be automatically substituted, I would > love to know.) > > Now, this is a small wiki with just me and my family. We have only used it > for a night or so, so no guarantees. I thought it is an interesting project > to see how far TW5 can go towards a multi-user environment with very little > modification. > > Now for the fun part. Want to test it out? > > https://gtdwiki.ml/login-basic/ > > Use on of these User names. Use password as the password. And play for a > bit. Lets see what issues TW still has that make it not very good for > multi-user use cases.Keep in mind no data is safe on this instance, it is a > cheap 512MB hoster, and doesn't have a lot of space. I reserve the right to > delete this at any time if there are bad actors. The goal is to find issues > with it, find gotchas, and generally as a thank you to the community and > Cardo for coming so close. Thanks, William. > > - samplesnort <https://jimpix.co.uk/words/username.asp?u=sample.snort> > - razulispotty > <https://jimpix.co.uk/words/username.asp?u=razuli.spotty> > - processescoat > <https://jimpix.co.uk/words/username.asp?u=processes.coat> > - laplandvoiceless > <https://jimpix.co.uk/words/username.asp?u=lapland.voiceless> > - sophiehitting > <https://jimpix.co.uk/words/username.asp?u=sophie.hitting> > - inveriedayroom > <https://jimpix.co.uk/words/username.asp?u=inverie.dayroom> > - unstampedgauze > <https://jimpix.co.uk/words/username.asp?u=unstamped.gauze> > - againstpress > <https://jimpix.co.uk/words/username.asp?u=against.press> > - sweepirregular > <https://jimpix.co.uk/words/username.asp?u=sweep.irregular> > - speckledcomparison > <https://jimpix.co.uk/words/username.asp?u=speckled.comparison> > - encodingblubber > <https://jimpix.co.uk/words/username.asp?u=encoding.blubber> > - facilitieswegs > <https://jimpix.co.uk/words/username.asp?u=facilities.wegs> > - carnotbrazos > <https://jimpix.co.uk/words/username.asp?u=carnot.brazos> > - plugbypants <https://jimpix.co.uk/words/username.asp?u=plugby.pants> > - servorand <https://jimpix.co.uk/words/username.asp?u=servo.rand> > - pythonflock <https://jimpix.co.uk/words/username.asp?u=python.flock> > - coolbody <https://jimpix.co.uk/words/username.asp?u=cool.body> > - boncretesmokey > <https://jimpix.co.uk/words/username.asp?u=boncrete.smokey> > - flackboardcollop > <https://jimpix.co.uk/words/username.asp?u=flackboard.collop> > - footnotecairn > <https://jimpix.co.uk/words/username.asp?u=footnote.cairn> > - rustmourn <https://jimpix.co.uk/words/username.asp?u=rust.mourn> > - populacemendelevium > <https://jimpix.co.uk/words/username.asp?u=populace.mendelevium> > - viawiping <https://jimpix.co.uk/words/username.asp?u=via.wiping> > - crossbredtall > <https://jimpix.co.uk/words/username.asp?u=crossbred.tall> > - worstyankie <https://jimpix.co.uk/words/username.asp?u=worst.yankie> > - arabiangrinning > <https://jimpix.co.uk/words/username.asp?u=arabian.grinning> > - fastzenyatta > <https://jimpix.co.uk/words/username.asp?u=fast.zenyatta> > - imitationpromise > <https://jimpix.co.uk/words/username.asp?u=imitation.promise> > - goldmedalmortar > <https://jimpix.co.uk/words/username.asp?u=goldmedal.mortar> > - parppresto <https://jimpix.co.uk/words/username.asp?u=parp.presto> > - trumpetseaborgium > <https://jimpix.co.uk/words/username.asp?u=trumpet.seaborgium> > - cogsmagwitch > <https://jimpix.co.uk/words/username.asp?u=cogs.magwitch> > - tricepsgather > <https://jimpix.co.uk/words/username.asp?u=triceps.gather> > - billiardsvantage > <https://jimpix.co.uk/words/username.asp?u=billiards.vantage> > - higdenblackie > <https://jimpix.co.uk/words/username.asp?u=higden.blackie> > - shakableflop > <https://jimpix.co.uk/words/username.asp?u=shakable.flop> > - etherealcoyote > <https://jimpix.co.uk/words/username.asp?u=ethereal.coyote> > - ipadsame <https://jimpix.co.uk/words/username.asp?u=ipad.same> > - windymagma <https://jimpix.co.uk/words/username.asp?u=windy.magma> > - cannedtruffles > <https://jimpix.co.uk/words/username.asp?u=canned.truffles> > - bokbeggar <https://jimpix.co.uk/words/username.asp?u=bok.beggar> > - patchworktalon > <https://jimpix.co.uk/words/username.asp?u=patchwork.talon> > - lyricsendless > <https://jimpix.co.uk/words/username.asp?u=lyrics.endless> > - firkinsky <https://jimpix.co.uk/words/username.asp?u=firkin.sky> > - diligencequalified > <https://jimpix.co.uk/words/username.asp?u=diligence.qualified> > - optupscale <https://jimpix.co.uk/words/username.asp?u=opt.upscale> > - stemplotidentical > <https://jimpix.co.uk/words/username.asp?u=stemplot.identical> > - existrepeater > <https://jimpix.co.uk/words/username.asp?u=exist.repeater> > - substanceannual > <https://jimpix.co.uk/words/username.asp?u=substance.annual> > > -- > 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] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > 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/48d52a81-4af0-4a7b-a431-ad71d5c18723%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/48d52a81-4af0-4a7b-a431-ad71d5c18723%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- 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/44721a04-c62e-49bd-a9bf-cf880177b29d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

