disable editing and adding new tiddlers

933 views
Skip to first unread message

Wim

unread,
Jul 14, 2010, 2:38:47 PM7/14/10
to TiddlyWiki
Hello,

is it possible to "protect" my Tiddlywiki so that editing and adding
new tiddlers is not possible for the users, BUT after a kind of login?

To be clear : just me (as "administrator") can change everything, but
all (other) users just can see the content.

With the TiddlerEncryptionPlugin, a password is needed, even for only
displaying the items. That's not what I want. Everyone has to be able
to read everything, but only me must have the "option" to login and
change.

I work locally, as I don't have a possibility to work with a server !

PMario

unread,
Jul 14, 2010, 3:33:26 PM7/14/10
to TiddlyWiki
Hi,
Create a tiddler named: zzUserConfig
tag it: systemConfig, excludeLists, excludeSearch

[[zzConfig]]
readOnly=true;

Save and Reload.
Now the "new tiddler", "edit tiddler" should be gone.

If you enter the following address into the browsers address bar. Edit
is possible again.
file:///x:/MyDir/empty.html#readOnly:no
^^^^^^^^^^^^^^^^

___BUT___ be aware, this adds _no_ security.
An experienced user will find it within minutes.

But nobody will change someting by accident.
==============

A second possibility would be to adjust the FileProperties:
WriteProtect flag of your operating system
or both together.

Have fun!
Mario

Reply all
Reply to author
Forward
0 new messages