feat(limits): limit the monitors shown on one status page
Platform admins set a default for how many monitors a status page may show, and an override per organization, like the other limits. Saving a page with more gives 422 page_monitor_limit; a page beyond a lowered limit keeps its monitors but cannot grow. The page editor names the limit and the organization's usage lists it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
4cde0f7e56
commit
ca852c8299
17 files changed
+611
-416
No files matched your search
@@ -619,6 +619,7 @@
|
||||
"error.owner_cannot_be_removed": "Owners cannot be removed. Take their ownership away first.",
|
||||
"error.owner_has_all_permissions": "The owner already has every permission.",
|
||||
"error.owner_only": "Only owners can change who owns the organization.",
|
||||
"error.page_monitor_limit": "A status page may show at most {{.Max}} monitors.",
|
||||
"error.password_too_short": "The password needs at least {{.Min}} characters.",
|
||||
"error.permission_escalation": "You cannot grant permissions you do not hold yourself.",
|
||||
"error.platform_region_limit": "A monitor may be checked from at most {{.Max}} platform regions; your own checker regions do not count.",
|
||||
@@ -902,6 +903,7 @@
|
||||
"limits.default": "default: {{.Value}}",
|
||||
"limits.intro": "Apply to every organization and account without an override of its own, also when you change them later. 0 means unlimited. Lowering a limit keeps everything that exists; only new monitors, status pages, regions or organizations are refused.",
|
||||
"limits.monitors": "Monitors",
|
||||
"limits.monitors_per_page": "Monitors per status page",
|
||||
"limits.org_title": "Usage",
|
||||
"limits.orgs_per_account": "Organizations per account",
|
||||
"limits.own_false": "do not count",
|
||||
@@ -1290,6 +1292,7 @@
|
||||
"pages.intro": "Public pages showing the state of selected monitors. Each page can use its own domain or be exported as a single HTML file.",
|
||||
"pages.label": "Public name",
|
||||
"pages.logo": "Logo URL (https)",
|
||||
"pages.monitor_limit": "This page may show at most {{.Max}} monitors.",
|
||||
"pages.monitors_all": "Add all",
|
||||
"pages.monitors_none": "Remove all",
|
||||
"pages.no_group": "No group",
|
||||
|
||||
Reference in new issue
Block a user