> if I remove the readOnly or change it to false then the
> backstage is no longer hidden
That's because of the startup order; plugins are loaded before the
backstage status is initialized.
Here's a small plugin that will check at the right time:
---------------
//{{{
// hijack restart
var restart_orig = restart;
restart = function() {
if(config.options.txtUserName != "foo") {
showBackstage = false;
}
restart_orig.apply(this, arguments);
};
//}}}
---------------
(change "foo" to your desired username)
Obviously, this method is not suitable for reliably restricting access.
-- F.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---