Skip to content

CapabilityRevokeFlow

stable

Two-step revocation ceremony: Step 1 shows task impact preview (will-fail / may-degrade), Step 2 requires written reason — non-repudiable audit trail

Human-in-the-Loop/Storybook ↗
import { CapabilityRevokeFlow } from "@nodus/design-system/patterns"
Loading demo…

Props

grantIdrequired
Type stringDefault

Grant to revoke.

agentNamerequired
Type stringDefault

Agent whose grant is being revoked.

capabilityrequired
Type stringDefault

Capability being revoked.

scoperequired
Type stringDefault

Scope of the grant.

impactedTasks
Type ImpactedTask[]Default

Tasks affected — shown in Step 1 impact preview.

onConfirm
Type (grantId, reason) => voidDefault

Called when user confirms with written reason.

onCancel
Type () => voidDefault

Called on cancel at any step.

Metadatasemantictypebordersurface
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?