Dear all,

My teaching site is hosted on Tiddlyspot, where students can access it for 
notes and resources, and I can make ongoing additions and edits.

On my TW Classic site (also Tiddlyspot), there was a "backstage" area, and 
a "readOnly" checkbox (which I tucked in an odd corner) that would always 
default to "true" until I unchecked it (or loaded with a readOnly:no url 
variant).... 

I have tried doing my homework: I looked at 
http://tw5readonly.tiddlyspot.com/ since it's clearly in the ballpark... 
but I despaired that it would work for me: I don't want the Tiddlyspot 
server to sometimes show everything to everyone (while I'm between edits 
with AutoSave on, which I do love!), and serve up the readOnly interface 
only when I restore the theme manually and save.

I have looked at the official tiddler about Web Server Authorization 
<https://tiddlywiki.com/#WebServer%20Authorization> here, but I found no 
documentation there about how to get the ViewTemplate and other UI elements 
to respond to the difference between writers and (anonymous, 
non-authenticated) readers (and I'm not even sure whether/how all this 
applies to Tiddlyspot in particular.)

I found a 2014 thread 
<https://groups.google.com/forum/#!topic/tiddlywiki/hF30Y9WD9lE> where 
Jeremy mentioned once-upon-a-time having

a blue "edit" button at the top right. Until it was clicked none of the UI 
> paraphernalia associated with editing was displayed... got lost in some 
> refactoring at some point...


Almost-hooray. That would have been fine (equivalent to what I had in TWC), 
since this isn't a matter of sensitive data, but rather of efficient and 
clean GUI for readers.

Dave Gifford also recently asked an equivalent question 
<https://groups.google.com/forum/#!searchin/tiddlywiki/readonly$20mode%7Csort:date/tiddlywiki/3FQGwx4184Q/i4pTe38kHQAJ>
 -- 
but not for Tiddlyspot. I'm afraid any solution that involves "then, do 
these steps before you upload" doesn't cut it for a Tiddlyspot-hosted wiki; 
this situation calls for a dynamic solution. (And I really am editing this 
thing continuously and wanting students to see new material promptly, so 
I'm not poised to add a frequent step like exporting to a read-only at a 
different URL.)

So, what's the current wisdom? Ideally, it should be achievable to make 
sure that readers who have not authenticated with Tiddlyspot (or, maybe 
just: readers who haven't entered a password, or who have not found the 
special unlocked "back door" checkbox/url variant/empty button, whose state 
doesn't get saved at the server...) don't encounter the interface elements 
that are only appropriate for me as writer/admin. A bunch of stuff is then 
revealed *only* when in admin (not readOnly) mode:

   - Page Toolbar shows me control panel, tag manager, time stamps on/off, 
   etc. 
   - View Toolbar shows me edit, info, clone, encrypt, etc.

Surely someone must have solved this challenge? I regret that at this point 
I'm needing to ask how. Thanks for any help you can offer!

-Springer

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8e9d8979-2ea1-4169-9017-635889979b17%40googlegroups.com.

Reply via email to