RoleAssigner

pt.tecnico.dsi.openstack.keystone.models.RoleAssigner
trait RoleAssigner

Attributes

Source
RoleAssigner.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Domain
class Project
object System.type

Members list

Value members

Abstract methods

def roleAssignment[F[_]](using client: KeystoneClient[F]): RoleAssignment[F]

The role assignment for scope

The role assignment for scope

Attributes

Source
RoleAssigner.scala

Concrete methods

def assign[F[_]](roleId: String)(using evidence$5: KeystoneClient[F]): Assign

Allows assigning the role with roleId to user/group on scope.

Allows assigning the role with roleId to user/group on scope.

Attributes

Example
 var user: User = ???
 scope assign "role-id" to user
Source
RoleAssigner.scala
def assign[F[_]](role: Role)(using evidence$6: KeystoneClient[F]): Assign

Allows assigning the role to user/group on scope.

Allows assigning the role to user/group on scope.

Attributes

Example
 var user: User = ???
 var role: Role = ???
 scope assign role to user
Source
RoleAssigner.scala
def is[F[_]](roleId: String)(using evidence$9: KeystoneClient[F]): Is

Allows checking if the role with roleId is assigned to user/group on scope.

Allows checking if the role with roleId is assigned to user/group on scope.

Attributes

Example
 var user: User = ???
 scope is "role-id" assignedTo user
Source
RoleAssigner.scala
def is[F[_]](role: Role)(using evidence$10: KeystoneClient[F]): Is

Allows checking if role is assigned to user/group on scope.

Allows checking if role is assigned to user/group on scope.

Attributes

Example
 var user: User = ???
 var role: Role = ???
 scope is role assignedTo user
Source
RoleAssigner.scala
def listAssignmentsFor[F[_]](user: User)(using evidence$3: KeystoneClient[F]): F[List[Role]]

Lists the role assignments for user on scope.

Lists the role assignments for user on scope.

Attributes

Example
 var user: User = ???
 scope listAssignmentsFor user
Source
RoleAssigner.scala
def listAssignmentsFor[F[_]](group: Group)(using evidence$4: KeystoneClient[F]): F[List[Role]]

Lists the role assignments for group on scope.

Lists the role assignments for group on scope.

Attributes

Example
 var group: Group = ???
 scope listAssignmentsFor group
Source
RoleAssigner.scala
def listAssignmentsForGroup[F[_]](id: String)(using evidence$2: KeystoneClient[F]): F[List[Role]]

Lists the role assignments for the group with id on scope.

Lists the role assignments for the group with id on scope.

Attributes

Example
 scope listAssignmentsFor "group-id"
Source
RoleAssigner.scala
def listAssignmentsForUser[F[_]](id: String)(using evidence$1: KeystoneClient[F]): F[List[Role]]

Lists the role assignments for the user with id on scope.

Lists the role assignments for the user with id on scope.

Attributes

Example
 scope listAssignmentsFor "user-id"
Source
RoleAssigner.scala
def unassign[F[_]](roleId: String)(using evidence$7: KeystoneClient[F]): Unassign

Allows unassigning the role with roleId to user/group on scope.

Allows unassigning the role with roleId to user/group on scope.

Attributes

Example
 var user: User = ???
 scope unassign "role-id" to user
Source
RoleAssigner.scala
def unassign[F[_]](role: Role)(using evidence$8: KeystoneClient[F]): Unassign

Allows unassigning the role from user/group on scope.

Allows unassigning the role from user/group on scope.

Attributes

Example
 var user: User = ???
 var role: Role = ???
 scope unassign role from user
Source
RoleAssigner.scala