feat: platform admins can switch off check types
Types an installation cannot offer, such as Docker on shared cloud checkers, can be switched off in the admin panel. They are not offered in the editor or accepted by the API for new monitors or type changes; existing monitors keep running and stay editable. The setting lives in a new platform_settings table and reaches every replica at once through the versioned cache. GET /api/v1/org/check-types lists what is offered. 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
5a644e4ae5
commit
fb03b28df7
19 files changed
+627
-160
No files matched your search
@@ -264,6 +264,12 @@ type Org struct {
|
||||
ApiTokenMaxDays *int32
|
||||
}
|
||||
|
||||
type PlatformSetting struct {
|
||||
Key string
|
||||
Value []byte
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
type RecoveryCode struct {
|
||||
UserID uuid.UUID
|
||||
CodeHash []byte
|
||||
|
||||
Reference in new issue
Block a user