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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Role
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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
- val bucket: Option[String]
- val collection: Option[String]
- def format: String
- val name: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- val scope: Option[String]
- def toString(): String
- Definition Classes
- Role → AnyRef → Any