annacl v0.3.0 Annacl.PermissionsRoles.PermissionRole

Ecto Schema that represent the association between a permission and a role.

Link to this section Summary

Link to this section Types

Specs

t() :: %Annacl.PermissionsRoles.PermissionRole{
  __meta__: term(),
  id: term(),
  inserted_at: term(),
  permission: term(),
  permission_id: term(),
  role: term(),
  role_id: term(),
  updated_at: term()
}

Link to this section Functions

Link to this function

changeset(permission_role, attrs)

Specs

changeset(PermissionRole.t(), map()) :: Ecto.Changeset.t()