annacl v0.2.0 Annacl.ACL.Performers.Performer

A Performer is an Ecto schema used as the main actor for determining abilities.

Link to this section Summary

Link to this section Types

Specs

t() :: %Annacl.ACL.Performers.Performer{
  __meta__: term(),
  id: term(),
  inserted_at: term(),
  permissions: term(),
  roles: term(),
  updated_at: term()
}

Link to this section Functions

Link to this function

changeset(performer, attrs)

Specs

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