diff --git a/data/api/v2/full_spec.yaml b/data/api/v2/full_spec.yaml index 0d80c3af286a2..a261239dc8ee3 100644 --- a/data/api/v2/full_spec.yaml +++ b/data/api/v2/full_spec.yaml @@ -65285,8 +65285,9 @@ paths: - Metrics x-menu-order: 11 x-permission: - operator: OPEN - permissions: [] + operator: OR + permissions: + - metrics_read x-undo: type: safe /api/v2/metrics/{metric_name}/tag-cardinalities: @@ -65611,8 +65612,9 @@ paths: - Metrics x-menu-order: 8 x-permission: - operator: OPEN - permissions: [] + operator: OR + permissions: + - metrics_read x-undo: type: safe /api/v2/monitor/notification_rule: diff --git a/data/api/v2/full_spec_deref.json b/data/api/v2/full_spec_deref.json index b1a340c8a344a..33647274d3da5 100644 --- a/data/api/v2/full_spec_deref.json +++ b/data/api/v2/full_spec_deref.json @@ -530326,8 +530326,10 @@ ], "x-menu-order": 11, "x-permission": { - "operator": "OPEN", - "permissions": [] + "operator": "OR", + "permissions": [ + "metrics_read" + ] }, "x-undo": { "type": "safe" @@ -532334,8 +532336,10 @@ ], "x-menu-order": 8, "x-permission": { - "operator": "OPEN", - "permissions": [] + "operator": "OR", + "permissions": [ + "metrics_read" + ] }, "x-undo": { "type": "safe" diff --git a/static/resources/json/full_spec_v2.json b/static/resources/json/full_spec_v2.json index b1a340c8a344a..33647274d3da5 100644 --- a/static/resources/json/full_spec_v2.json +++ b/static/resources/json/full_spec_v2.json @@ -530326,8 +530326,10 @@ ], "x-menu-order": 11, "x-permission": { - "operator": "OPEN", - "permissions": [] + "operator": "OR", + "permissions": [ + "metrics_read" + ] }, "x-undo": { "type": "safe" @@ -532334,8 +532336,10 @@ ], "x-menu-order": 8, "x-permission": { - "operator": "OPEN", - "permissions": [] + "operator": "OR", + "permissions": [ + "metrics_read" + ] }, "x-undo": { "type": "safe"