Hunter.Role (hunter v0.7.0)

Copy Markdown View Source

Role entity

A custom user role that grants permissions, shown on Hunter.Account as a partial (only roles with a visible badge are returned)

Fields

  • id - the ID of the role
  • name - the name of the role
  • color - the hex code assigned to this role, empty when no color

Summary

Types

t()

@type t() :: %Hunter.Role{color: String.t(), id: String.t(), name: String.t()}