ApprovalGrantStore
@forge/monorepo / backend/src / ApprovalGrantStore
Interface: ApprovalGrantStore
Defined in: backend/src/persistence/index.ts:407
Standing approval grants from allow-conversation / allow-always (docs/04 → Approvals).
Methods
findActive()
findActive(
input):Promise<ApprovalGrant|null>
Defined in: backend/src/persistence/index.ts:414
An active (unrevoked, unexpired) grant matching the tool name or category, or null. A
conversation-scoped grant matches only when conversationId is supplied and equal — so an
allow-conversation grant never leaks to another conversation or tenant-wide.
Parameters
input
TenantScope & object
Returns
Promise<ApprovalGrant | null>
grant()
grant(
input):Promise<void>
Defined in: backend/src/persistence/index.ts:408
Parameters
input
TenantScope & object
Returns
Promise<void>
revoke()
revoke(
input):Promise<void>
Defined in: backend/src/persistence/index.ts:417
Parameters
input
TenantScope & object
Returns
Promise<void>