QueryLibrary: Added IsLocked field (#105634)

* QueryLibrary: Added IsLocked field

* Updated openapi

* Update backend field description
This commit is contained in:
Collin Fingar
2025-05-21 15:11:21 -04:00
committed by GitHub
parent b77ab8a685
commit b16f34fb93
2 changed files with 11 additions and 0 deletions

View File

@ -409,6 +409,13 @@ func schema_apis_query_v0alpha1_template_QueryTemplate(ref common.ReferenceCallb
Format: "",
},
},
"isLocked": {
SchemaProps: spec.SchemaProps{
Description: "Whether the query is locked and cannot be edited Note: This is purely for UI display purposes and not for security",
Type: []string{"boolean"},
Format: "",
},
},
"vars": {
VendorExtensible: spec.VendorExtensible{
Extensions: spec.Extensions{