fix(swagger): synchronize permission enum with code

pull/12737/head
Mark Rushakoff 2019-03-18 16:38:30 -07:00 committed by Mark Rushakoff
parent 2fa533717e
commit 92a52e90fa
2 changed files with 7 additions and 0 deletions

View File

@ -140,6 +140,7 @@ var AllResourceTypes = []ResourceType{
LabelsResourceType, // 11 LabelsResourceType, // 11
ViewsResourceType, // 12 ViewsResourceType, // 12
DocumentsResourceType, // 13 DocumentsResourceType, // 13
// NOTE: when modifying this list, please update the swagger for components.schemas.Permission resource enum.
} }
// OrgResourceTypes is the list of all known resource types that belong to an organization. // OrgResourceTypes is the list of all known resource types that belong to an organization.

View File

@ -5313,6 +5313,12 @@ components:
- tasks - tasks
- telegrafs - telegrafs
- users - users
- variables
- scrapers
- secrets
- labels
- views
- documents
id: id:
type: string type: string
nullable: true nullable: true