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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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