RoleContext

A type to define a role and the boundaries within which that role is valid. For instance, a store associate can only be authorised to view particulars of their own store whereas a store manager can be authorised to view particulars of multiple stores.

Fields

contextType (String!)

Represents the type of context. For more information on contexts and how they relate to user and roles, please visit User's section on Lingo.

contextId (ID!)

Represents the identity of the context object.