Skip to content

Handle restricted environments in CLI project operations#873

Merged
m-abdelwahab merged 2 commits intomasterfrom
mahmoud/authz-restricted-envs
May 6, 2026
Merged

Handle restricted environments in CLI project operations#873
m-abdelwahab merged 2 commits intomasterfrom
mahmoud/authz-restricted-envs

Conversation

@m-abdelwahab
Copy link
Copy Markdown
Collaborator

Summary

  • Move environment-scoped service and volume instance reads to the new EnvironmentInstances query so restricted environments are not queried through project payloads.
  • Filter link, service, volume, function, metrics, status, and MCP flows to accessible environments.
  • Add clear errors when users explicitly target restricted environments.
  • Preserve status --json compatibility by keeping serviceInstances and volumeInstances fields on restricted environment nodes with empty edge lists.

@m-abdelwahab m-abdelwahab added the release/patch Author patch release label May 6, 2026
@m-abdelwahab m-abdelwahab merged commit 8bd6efb into master May 6, 2026
6 checks passed
@m-abdelwahab m-abdelwahab deleted the mahmoud/authz-restricted-envs branch May 6, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/patch Author patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant