Permission

sealed abstract class Permission extends WithBoolOps[Permission]

Type-safe union of Allow | Deny

Companion:
object
trait WithBoolOps[Permission]
trait SafeBool[Permission]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Allow.type
object Deny.type

Value members

Abstract methods

def apply[A](a: => A): DeniedOr[A]
def option[A](a: => A): Option[A]

Concrete methods

final override def companion: Object[Permission]
Definition Classes
SafeBool

Inherited methods

final def &(that: => Permission): Permission
Inherited from:
WithBoolOps
final def &&(that: => Boolean): Permission
Inherited from:
WithBoolOps
def canEqual(that: Any): Boolean
Inherited from:
Equals
final def fnToThisWhen[A](f: A => Boolean): A => Permission
Inherited from:
SafeBool
@inline
final def is(b: Permission): Boolean
Inherited from:
SafeBool
def productArity: Int
Inherited from:
Product
def productElement(n: Int): Any
Inherited from:
Product
def productElementName(n: Int): String
Inherited from:
Product
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def productPrefix: String
Inherited from:
Product
final def unary_!: Permission
Inherited from:
SafeBool
@inline
final def when(cond: Boolean): Permission
Inherited from:
SafeBool
Inherited from:
SafeBool
Inherited from:
SafeBool
final def |(that: => Permission): Permission
Inherited from:
WithBoolOps
final def ||(that: => Boolean): Permission
Inherited from:
WithBoolOps