Pular para o conteúdo principal

championshipRolePermissions

@raizfc/contracts


@raizfc/contracts / championshipRolePermissions

Variable: championshipRolePermissions

const championshipRolePermissions: Readonly<Record<ManagementRole, readonly ChampionshipPermissionKey[]>>

Defined in: permissions.ts:137

SPEC-DOMAIN-CHAMPIONSHIP-001 "Permissões" assigns each key to a role family ("Financial", "Competition", "Registrations", "Discipline", "Admin") that does not exist as its own ManagementRole yet — only primary_owner memberships are created by IS-MVP-07.1 (no manager-invite flow for championships in this pack, see the access module's available: false in CHAMPIONSHIP_MANAGEMENT_MODULE_CATALOG). admin_manager gets the full set (domain table lists "Admin" as a co-recipient of every key) so the template is ready when a future pack introduces championship manager invites; the remaining roles stay empty rather than guessing an unspecified mapping.