One way would be to  overload the edit-text widget, The 'new' version would 
check for the tag on the to-be edited tiddler and ask for the password. - 
it would call the original edit-text widget for actual editing.

kind regards
BJ 

On Monday, September 28, 2015 at 8:38:30 PM UTC+1, [email protected] 
wrote:
>
> 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
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dfe54f82-3018-4834-971c-77c2f7a5a381%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to