in app/controllers/UserController.scala [63:73]
protected def getSingleBoolValue(rq:UserProfileFieldUpdate):Either[String,Boolean] =
rq.stringValue.map(_.toLowerCase) match {
case None=>Left("stringValue must be specified")
case Some("true")=>Right(true)
case Some("yes")=>Right(true)
case Some("allow")=>Right(true)
case Some("false")=>Right(false)
case Some("no")=>Right(false)
case Some("deny")=>Right(false)
case Some(otherStr)=>Left(s"$otherStr is not a recognised value. Try 'true' or 'false'.")
}