Skip to content

ateapi: add access policy RPCs for granting ExternalVolumeClasses to atespaces - #3843

Draft
Vu Le (lekhoavu2909) wants to merge 30 commits into
agent-substrate:mainfrom
lekhoavu2909:evc-pr11-policy-rpc
Draft

Vu Le (lekhoavu2909) wants to merge 30 commits into
agent-substrate:mainfrom
lekhoavu2909:evc-pr11-policy-rpc

Conversation

@lekhoavu2909

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

Copy link
Copy Markdown
Collaborator

Adds an access policy under each ExternalVolumeClass, used to grant the class to specific atespaces, with its RPCs, request validation and OpenFGA authorization. Stacked on #3827, which adds the allowed_atespace relation and the policy manager methods that write it. The RPC handlers come in a follow-up PR.

  • add editor from allowed_atespace on evc can_get
  • add evc access policy proto RPCs, apivalidation and apitool tests
  • resource model & authorization docs for ExternalVolumeClass access policies

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>
@lekhoavu2909 Vu Le (lekhoavu2909) changed the title evc pr11 policy rpc ateapi: add access policy RPCs for granting ExternalVolumeClasses to atespaces Nov 13, 2026
…licies

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