Skip to content

ateapi: store ExternalVolumeClass access policies and keep their atespace grants in sync - #3847

Open
Vu Le (lekhoavu2909) wants to merge 33 commits into
agent-substrate:mainfrom
lekhoavu2909:evc-pr12-policy-store
Open

Vu Le (lekhoavu2909) wants to merge 33 commits into
agent-substrate:mainfrom
lekhoavu2909:evc-pr12-policy-store

Conversation

@lekhoavu2909

@lekhoavu2909 Vu Le (lekhoavu2909) commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Adds PostgreSQL storage for ExternalVolumeClass access policies. Each write updates the policy row and the class's allowed_atespace grants in OpenFGA in one transaction. Stacked on #3843, which adds the access policy RPCs and validation. The RPC handlers come in a follow-up PR; ServiceImpl only passes calls through for now.

Part of #3754

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

No breaking change

  • 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>
and add CRUD policy on
evc in model.fga with OpenFGA model tests

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

Signed-off-by: Vu Le <vulk@google.com>
@lekhoavu2909 Vu Le (lekhoavu2909) changed the title Evc pr12 policy store ateapi: store ExternalVolumeClass access policies and keep their atespace grants in sync Nov 13, 2026

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