mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 21:32:03 +08:00
QueryLibrary: Added IsLocked field (#105634)
* QueryLibrary: Added IsLocked field * Updated openapi * Update backend field description
This commit is contained in:
@ -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{
|
||||
|
Reference in New Issue
Block a user