Hi Nathan, 

On Wednesday, October 8, 2014 5:07:08 AM UTC+2, Nathan Gleaves wrote:
>
> I recently found this little gem while searching for a better way to store 
> all of my D&D word information. 
>

Cool, to see, that TW is a gem :)
 

> Currently, from what i understand, only a single basic-auth username and 
> password can be used. I would extend this to read in from a shadow tiddler 
> or something (dont really know alot about the frame work yet) several 
> basic-auth accounts all with different permission sets. If someone is 
> already playing around with this, I don't guess it would be work the effort 
> but, if not, I think i would really enjoy digging into it.
>

So you are talking about the TW file encryption mechanism. right?  TW can 
be used with a nodejs server. There is also a very simple auth mechanism. 
.. Just to be sure your intention is to have different access rights within 
a single file TW?

Danielo Rodriguez has created a plugin [1], that allows you to encrypt a 
single tiddler. So basically every tiddler can have its own password. You 
can have a look at his code.

The plugin was created with a beta version. I did import it into the latest 
version. The plugin itself works, but the encrypt button css will need to 
be fixed. But that is straight forward. Just open the 
$:/plugins/danielo/encryptTiddler/styles tiddler and change every tw- to tc- 
then it should work again. 

In your case, you'd need to create a management system, that let's you 
unlock classes of tiddlers, if the user knows the password to unlock a 
certain set of tiddlers, with may be a set of passwords .... 

I think managing the structure, will be tricky but seems to be doable. ... 

-----

There is an other Nathan, that modifies the nodejs server at the moment. So 
if your interest is on the server side you should contact him. may be with 
github. @natecain 

have fun!
mario

[1] http://braintest.tiddlyspot.com/#Encrypt-Tiddler:Encrypt-Tiddler

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to