Permission

bolster.security.Permission
See thePermission companion trait
object Permission

Provides permission factory.

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Permission.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(name: String): Permission

Creates permission with supplied name.

Creates permission with supplied name.

Value parameters

name

permission name

Attributes

Throws
IllegalArgumentException

if name is blank

def toSet(names: Iterable[String]): Set[Permission]

Creates set of permissions with supplied names.

Creates set of permissions with supplied names.

Value parameters

names

permission names

Attributes

def toSet(one: String, more: String*): Set[Permission]

Creates set of permissions with supplied names.

Creates set of permissions with supplied names.

Value parameters

more

additional permission names

one

permission name

Attributes

def unapply(perm: Permission): Option[String]

Destructures permission to its name

Destructures permission to its name

Value parameters

perm

permission

Attributes