Pular para o conteúdo principal

TORCIDA_PERMISSION_KEYS

@raizfc/contracts


@raizfc/contracts / TORCIDA_PERMISSION_KEYS

Variable: TORCIDA_PERMISSION_KEYS

const TORCIDA_PERMISSION_KEYS: readonly ["torcida.editProfile", "torcida.manageMembers", "torcida.managePosts", "torcida.manageWallet", "torcida.manageSponsors", "torcida.manageManagers", "torcida.transferOwnership"]

Defined in: permissions.ts:158

SPEC-DOMAIN-TORCIDA-001 "Permissões" table — torcida memberships are independent of the linked team's memberships (SPEC-UX-TORCIDA-MGMT-001: "Roles da torcida independem das do time. Gestor do time aprova existência, não ganha gestão automática"), a separate permission namespace even though both share the ManagementMembershipDto/ManagementRole contracts. torcida.transferOwnership stays primary-owner-exclusive (mirrors team.transferOwnership); the remaining keys follow the domain table's "Admin" co-recipient column.