Pular para o conteúdo principal

PermissionOverrideDto

@raizfc/contracts


@raizfc/contracts / PermissionOverrideDto

Type Alias: PermissionOverrideDto

PermissionOverrideDto = Readonly<{ effect: "grant" | "deny"; key: PermissionKey; }>

Defined in: permissions.ts:22

A single manual adjustment to a membership's role template (SPEC-DOMAIN-PERMISSION-001 "Override: Adição ou remoção manual de permission key"). ManagementMembershipDto.permissions stays the flattened, already-computed effective set used for authorization checks everywhere else in the codebase; overrides is only consumed by the Access module's editor UI so a manager can see role-vs-manual deltas instead of a flat list (SPEC-UX-TEAM-MGMT-001: "Editor de role mostra resumo legível, não lista crua de keys por padrão").