SaltDns.Accounts.Membership (Salt v1.0.0)

The role of a user in an organisation: owner, admin, editor or viewer.

What each role may do is decided where access is enforced (M3); this schema only records it.

Summary

Functions

The valid roles, most privileged first.

Types

t()

@type t() :: %SaltDns.Accounts.Membership{
  __meta__: term(),
  id: term(),
  inserted_at: term(),
  organisation: term(),
  organisation_id: term(),
  role: term(),
  updated_at: term(),
  user: term(),
  user_id: term()
}

Functions

roles()

@spec roles() :: [atom()]

The valid roles, most privileged first.