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
|
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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue