You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A single serializable permission rule for a GraphQLAbility. This is a
plain JSON object (action, subject, optional conditions, inverted,
fields, reason), so a set of rules can be persisted in a database and
rehydrated with buildGraphQLAbility at app start.
Type Parameters
TSubjectMap
TSubjectMapextendsRecord<string, object>
The subject map, e.g. SubjectMap<Resolvers, ResolversTypes>.