fix(swagger): synchronize permission enum with code
parent
2fa533717e
commit
92a52e90fa
1
authz.go
1
authz.go
|
@ -140,6 +140,7 @@ var AllResourceTypes = []ResourceType{
|
|||
LabelsResourceType, // 11
|
||||
ViewsResourceType, // 12
|
||||
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.
|
||||
|
|
|
@ -5313,6 +5313,12 @@ components:
|
|||
- tasks
|
||||
- telegrafs
|
||||
- users
|
||||
- variables
|
||||
- scrapers
|
||||
- secrets
|
||||
- labels
|
||||
- views
|
||||
- documents
|
||||
id:
|
||||
type: string
|
||||
nullable: true
|
||||
|
|
Loading…
Reference in New Issue