Skip to content

ateapi: reconcile ExternalVolumeClass allowed_atespace grants and clean them up on atespace deletion - #3827

Draft
Vu Le (lekhoavu2909) wants to merge 27 commits into
agent-substrate:mainfrom
lekhoavu2909:evc-pr10-policy-manager
Draft

Vu Le (lekhoavu2909) wants to merge 27 commits into
agent-substrate:mainfrom
lekhoavu2909:evc-pr10-policy-manager

Conversation

@lekhoavu2909

Copy link
Copy Markdown
Collaborator

Adds the allowed_atespace relation on external_volume_class in OpenFGA, PolicyManager helpers to reconcile and delete per-class atespace grants, and transactional cleanup in DeleteAtespace so a recreated atespace cannot inherit grants held by an earlier atespace with the same name. Nothing enforces allowed_atespace or exposes the policy API yet; those land in follow-up PRs. Stacked on #3816; code-wise it depends only on #3751.

  • authz: add allowed_atespace relation and atespace member helper for external volume classes
  • authz: reconcile external volume class atespace grants and remove them when an atespace is deleted

Part of #3754

AI use: AI-assisted, I reviewed and tested it.

No breaking change. Adds the allowed_atespace relation and tuple cleanup without changing existing authorization checks.

  • Tests pass
  • Docs updated

regenerate ateapi.go, and register ExternalVolumeClass in apitool
TestBuild_Annotations.

Signed-off-by: Vu Le <vulk@google.com>
controlapi.ServiceImpl store pass-throughs

Signed-off-by: Vu Le <vulk@google.com>
table truncation and driver_name column test

Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
apitool example

Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
workload_spec_test to EVC

Signed-off-by: Vu Le <vulk@google.com>
…rRole RBAC from ateapi

Signed-off-by: Vu Le <vulk@google.com>
….proto and apivalidation

Signed-off-by: Vu Le <vulk@google.com>
…xternal volume classes

Signed-off-by: Vu Le <vulk@google.com>
…m when an atespace is deleted

Signed-off-by: Vu Le <vulk@google.com>

This branch has not been deployed

No deployments
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.

1 participant