AuthShield v0.0.2 AuthShield.Resources.Schemas.RolesPermissions View Source
Defines the association between roles and permissions.
This is only used to create the many to many relations on the tables.
Link to this section Summary
Functions
Generates an Ecto.Changeset
struct with the changes.
Link to this section Types
Link to this type
t()
View Sourcet() :: %AuthShield.Resources.Schemas.RolesPermissions{ __meta__: term(), inserted_at: NaiveDateTime.t(), permission: AuthShield.Resources.Schemas.Permission.t(), permission_id: term(), role: AuthShield.Resources.Schemas.Role.t(), role_id: term(), updated_at: NaiveDateTime.t() }
Abstract role module type.
Link to this section Functions
Link to this function
changeset(model, params)
View Sourcechangeset(model :: t(), params :: map()) :: Ecto.Changeset.t()
Generates an Ecto.Changeset
struct with the changes.