Skip to content

fix(dataset): enforce inherited reference grants - #91

Merged
izturn merged 1 commit into
BaizeAI:mainfrom
usernameisnull:enhancement/unify-rule
Sep 28, 2026
Merged

izturn merged 1 commit into
BaizeAI:mainfrom
usernameisnull:enhancement/unify-rule

Conversation

@usernameisnull

Copy link
Copy Markdown
Contributor

Summary

  • Check each ancestor's sharing policy against every downstream namespace in a reference chain. Intermediate denials and read-only grants now affect the final reference.
  • Reconcile transitive reference dependents when namespace labels change.
  • Reuse compiled selectors and cache namespace reads during resolution.
  • Add coverage for intermediate grants, transitive reconciliation, and deep reference chains.

Upgrade impact

Existing reference chains may become denied or read-only if an ancestor does not grant the required access to an intermediate namespace. Review sharing policies and namespace labels before upgrading.

Check every ancestor's policy against each downstream namespace so
multi-hop references cannot bypass an intermediate denial or read-only
grant. Reconcile transitive dependents when namespace labels change,
and reuse compiled selectors during resolution.

Existing reference chains may become denied or read-only after upgrade
if an ancestor does not grant an intermediate namespace.
@izturn

izturn commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@izturn
izturn merged commit df5322d into BaizeAI:main Sep 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants