Skip to content

Context-scoped node visibility (beyond credential redaction) #8

Description

@elan-chels

The 0.9.2 credential redaction in card / query --include-content is a great primitive.

A natural extension: let a node or source be tagged as "restricted," with a query flag (or context setting) that excludes restricted nodes from a given query context, so visibility is enforced by the store rather than by each caller remembering to filter.

This is useful anywhere a single store serves callers with different access levels: some queries should see everything, others should only see a non-sensitive subset. Tag + a query-time flag would be enough to lean on the store for that boundary instead of re-implementing filtering in every consumer.

Redaction already handles the credential-value case; this is about excluding whole nodes/sources by policy rather than masking a value inside them.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions