View Source Mobilizon.GraphQL.Authorization (Mobilizon v5.0.0-beta.1)

Check authorizations

Summary

Functions

@spec config() :: Keyword.t()
Link to this function

context_role_authorized?(context, allowed_role)

View Source

Callback implementation for Rajska.Authorization.context_role_authorized?/2.

Link to this function

context_user_authorized?(context, scoped_struct, rule)

View Source

Callback implementation for Rajska.Authorization.context_user_authorized?/3.

Link to this macro

is_super_role(role)

View Source (macro)

Callback implementation for Rajska.Authorization.not_scoped_roles/0.