sure, there is no real protection, but I a have small userbase and I'm just trying to prevent accidential editing.
The wiki resides on a sharded folder in a windows network.
Hi,
no, there isn’t any multi-user workflow.
Users are just accessing the html-file on a shared space.
I just want to have a pop-up saying „please enter password“ when someone tries to edit the tagged tiddlers.
How would I achieve that?
Matabele, putting them into a plugin sounds to complicated since from time to time there will new tiddlers get tagged with „locked“.
<$reveal type="match" state="$:/_secret" text="my-secret">
<!-- THE CORE BUTTON CODE -->
</$reveal>
<$edit-texttiddler="$:/_secret"default=""tag="input"type="password"placeholder="enter secret here..."/>
Hi Tobias,
thanks for your detailed explanations. I do learn a lot in hacking tw5 by reading your comments.
But… with your approach I would allow editing – but prevent saving.
IMHO this is one step too late. Why would I allow editing a tiddler if i knew already that the user is not allow to save his editing?
Thus, once again my question:
How would I
· allow a user to read a special tagged tiddler, but …
· prevent him from editing this tiddler by …
· asking for a password when he clicks the edit button, but still keep …
· the normal behaviour with un-tagged tiddlers.
I’m looking for a behaviour just like the „Encrypt single tiddler“ plugin, with the only exception that one can read a „encrypted“ tiddler without a password – but have to enter the password to enable editing.
Hoping for help and thanks again
Jonathan
· allow a user to read a special tagged tiddler, but …
· prevent him from editing this tiddler by
I’m looking for a behaviour just like the „Encrypt single tiddler“ plugin, with the only exception that one can read a „encrypted“ tiddler without a password – but have to enter the password to enable editing.
Maybe I'm just a last step before the goal.
Someone with a last hint for me?
<$list filter="[all[current]<some-filter-condition-for-the-current-tiddler-for-when-to-show-the-button>]">
<!-- all the current code -->
</$list>
<$list filter="[all[current]!tag[locked]]"><!-- only show when not tagged "locked" --></$list>
you mean "[all[current]!tag[locked]]" (tag, not tagging), right?
<$list filter="[all[current]]-[tagging[locked]]">
<!-- only show when not tagged "locked" -->
</$list>
How do i prevent my login tiddler of getting saved, so that the wiki
starts with an empty input field in the login tiddler, even if the
password was entered before the last saving?
Tobias,
thanks a lot, you’re great a help!
Jonathan