annacl v0.5.0 Annacl.Roles.Role

Ecto Schema that represent a role.

Link to this section Summary

Link to this section Types

Specs

t() :: %Annacl.Roles.Role{
  __meta__: term(),
  id: term(),
  inserted_at: term(),
  name: term(),
  permissions: term(),
  updated_at: term()
}

Link to this section Functions

Link to this function

changeset(role, attrs)

Specs

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