Role

Better Auth role definition

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • Human-readable name

  • Whether this is a system role (cannot be modified)

  • Role identifier (e.g., tenant-admin, team-admin)

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • Tenant scope (null for global roles)