Skip to content

Lock admin monitor and channel writes behind NOMINAL_API_MANAGED - #84

Merged
tomschlick merged 2 commits into
masterfrom
feature/6f2f0746
Sep 25, 2026
Merged

tomschlick merged 2 commits into
masterfrom
feature/6f2f0746

Conversation

@tomschlick

Copy link
Copy Markdown
Member

Summary

  • Add NOMINAL_API_MANAGED so monitor and notification-channel create, edit, and delete are locked in the Filament admin for Terraform-managed installs.
  • Grey out those controls and show why, while Pause, Resume, maintenance, Check now, and Send test stay available.
  • GraphQL mutations are unchanged; Livewire create/save is refused with 403 when the flag is on.

Test plan

  • With the flag off, create, edit, and delete a monitor and a notification channel as usual.
  • Set NOMINAL_API_MANAGED=true and confirm Create, Duplicate, Delete, and Save are disabled with the API-managed message.
  • Confirm Pause, Resume, Start maintenance, Check now, and Send test still work.
  • Confirm GraphQL/Terraform create still succeeds with the flag on.
  • Confirm Settings → General shows API-managed resources as On or Off.

… is set.

Terraform can keep managing those records through GraphQL while operators still pause, resume, and start maintenance in the UI.
@tomschlick
tomschlick merged commit 76d1d61 into master Sep 25, 2026
2 checks passed
@tomschlick
tomschlick deleted the feature/6f2f0746 branch September 25, 2026 15:40
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