mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
feat: add server flag to disable user custom quiet hours (#11124)
This commit is contained in:
7
coderd/apidoc/docs.go
generated
7
coderd/apidoc/docs.go
generated
@ -11353,6 +11353,9 @@ const docTemplate = `{
|
||||
"codersdk.UserQuietHoursScheduleConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"allow_user_custom": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"default_schedule": {
|
||||
"type": "string"
|
||||
}
|
||||
@ -11377,6 +11380,10 @@ const docTemplate = `{
|
||||
"description": "raw format from the cron expression, UTC if unspecified",
|
||||
"type": "string"
|
||||
},
|
||||
"user_can_set": {
|
||||
"description": "UserCanSet is true if the user is allowed to set their own quiet hours\nschedule. If false, the user cannot set a custom schedule and the default\nschedule will always be used.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"user_set": {
|
||||
"description": "UserSet is true if the user has set their own quiet hours schedule. If\nfalse, the user is using the default schedule.",
|
||||
"type": "boolean"
|
||||
|
Reference in New Issue
Block a user