Hi Kun, I'm trying to understand your code. Which part gives unauthenticated users read privileges and how would one remove it?
(I also posted on your blog :) ) Best wishes, Javid On Thursday, 29 August 2013 21:44:25 UTC+1, Kun Xi wrote: > > Hello, > > I am playing with TiddlyWiki5 Node Edition and I like it. The only caveat > is TW5 does no support authentication/authorization by design. So I build a > small utility, tw5-auth to fill the gap: > > > - It assumes you are using Google App for your own domain, just as I > do. > - It uses Google OAuth2 API for authentication > - If the user is logged with the email account from the specific > domain, it is granted with full write privilege. > - Anonymous user can read, but cannot create or modify the content. > > Checkout the code at https://github.com/kunxi/tw5-auth, and read more > details at my blog: > http://www.kunxi.org/blog/2013/08/note-up-powered-by-tiddlywiki5/ > -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.

