Skip to content

Add a APIExport controller to manage bindable APIExports in user FGA stores #228

@nexus49

Description

@nexus49

Context

Today any APIExport can be bound in any workspace. With this feature we would like to prepare to have more fine grained control on where API's can be bound.

Desired State

  • Add a new controller that reconciles APIExports. Each APIExport should be added as a tuple into the user fga store
  • Adjust the core fga schema to contain a new type along those lines
  type bindable_apis_kcp_io_apiexport
    relations
      define parent: [core_platform-mesh_io_account]
      define bind: [role#assignee] or owner or member from parent
  • Also cover finalization to remove the tuple in case of apiexport deletion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions