Packages

case class Role(name: String, bucket: Option[String] = None, scope: Option[String] = None, collection: Option[String] = None) extends Product with Serializable

Identifies a specific permission possessed by a user.

name

the role's name

bucket

the name of the bucket the role applies to. If empty, it is a system-wide role.

scope

the name of the scope the role applies to. If empty, the role applies to all scopes and collections on the bucket

collection

the name of the collection the role applies to. If empty, the role applies to all collections on the scope

Annotations
@Volatile()
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Role
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Role(name: String, bucket: Option[String] = None, scope: Option[String] = None, collection: Option[String] = None)

    name

    the role's name

    bucket

    the name of the bucket the role applies to. If empty, it is a system-wide role.

    scope

    the name of the scope the role applies to. If empty, the role applies to all scopes and collections on the bucket

    collection

    the name of the collection the role applies to. If empty, the role applies to all collections on the scope

Value Members

  1. val bucket: Option[String]
  2. val collection: Option[String]
  3. def format: String
  4. val name: String
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. def productIterator: Iterator[Any]
    Definition Classes
    Product
  7. val scope: Option[String]
  8. def toString(): String
    Definition Classes
    Role → AnyRef → Any