Sekisho.Role (Sekisho v0.1.0-dev)

Copy Markdown View Source

A role a record defines for itself (an org's "Support"): a row of sekisho_roles, with a name and some of its policy's permissions.

Made with create_role/4 of your permissions module, for a policy with custom_roles(), and granted by its name.

Summary

Types

t()

@type t() :: %Sekisho.Role{
  __meta__: term(),
  id: term(),
  inserted_at: term(),
  name: term(),
  permissions: term(),
  resource_id: term(),
  resource_type: term(),
  updated_at: term()
}