UserRole

An object to represent a user's role with the contexts.
Note: A role is always assigned to a user with a certain context.

Fields

role (Role!)

Represents the Role

contexts ([RoleContext]!)

A list of RoleContext objects. It represents the boundaries of the user's role validity.