it just occured to me that I can simply override my is logged in-
condition:
val ifIsLoggedIn = Props.mode match {
case Development = If (true _, )
case _ = If(User.loggedIn_? _, You must be logged in!)
}
yet this only works for explicitly hidden/disabled functionality based
If you're using MegaProtoUser, in your User object:
override def autologinFunc = if (Props.devMode) Full(() =
{User.find(1).foreach(User.LogUserIn)}) else Empty
On Mon, Dec 7, 2009 at 10:17 AM, stephanos stephan.beh...@googlemail.comwrote:
it just occured to me that I can simply override my is