RoleModel class
The role model of a project's
<spec-root>/checks/authorization_cross_check.yaml.
Constructors
-
RoleModel(Map<
String, Set< roleKeys, Map<String> >String, Set< handlerRoles, Map<String> >String, Set< actorRoles, Set<String> >String> otherActorOperations, List<String> pendingQuestions) - Binds the expanded role keys, handler roles and actor roles, the operations other actors perform and the pending questions.
Properties
-
actorRoles
→ Map<
String, Set< String> > -
The roles each use-case actor acts in (
actorRoles).final -
handlerRoles
→ Map<
String, Set< String> > -
The roles each custom authorization handler admits (
handlerRoles).final - hashCode → int
-
The hash code for this object.
no setterinherited
-
otherActorOperations
→ Set<
String> -
The operations check C accepts from any actor (
otherActorOperations).final -
pendingQuestions
→ List<
String> -
The open question ids (
BQ-<n>) a use-case step may wait for (pendingQuestions).final -
roleKeys
→ Map<
String, Set< String> > -
The entitlement keys each role holds (
roleKeys), withplatformOnlyKeysandtenantKeysexpanded.final -
roles
→ List<
String> -
The role names, in the order of
roleKeys.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reach(
Access access) → Set< String> - The roles an access requirement admits.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited