LBAC for datasources: Allow self serve (#93477)

* LBAC for datasources: Allow self serve

* capitilized LogQL
This commit is contained in:
Eric Leijonmarck 2024-09-20 14:24:40 +01:00 committed by GitHub
parent a2859de5b6
commit f9ad81f715
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 11 deletions

View File

@ -95,7 +95,7 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general-
| `reportingRetries` | Enables rendering retries for the reporting feature |
| `externalServiceAccounts` | Automatic service account and token setup for plugins |
| `cloudWatchBatchQueries` | Runs CloudWatch metrics queries as separate batches |
| `teamHttpHeaders` | Enables Team LBAC for datasources to apply team headers to the client requests |
| `teamHttpHeaders` | Enables LBAC for datasources to apply LogQL filtering of logs to the client requests for users in teams |
| `pdfTables` | Enables generating table data as PDF in reporting |
| `canvasPanelPanZoom` | Allow pan and zoom in canvas panel |
| `regressionTransformation` | Enables regression analysis transformation |

View File

@ -801,11 +801,12 @@ var (
Expression: "true",
},
{
Name: "teamHttpHeaders",
Description: "Enables Team LBAC for datasources to apply team headers to the client requests",
Stage: FeatureStagePublicPreview,
FrontendOnly: false,
Owner: identityAccessTeam,
Name: "teamHttpHeaders",
Description: "Enables LBAC for datasources to apply LogQL filtering of logs to the client requests for users in teams",
Stage: FeatureStagePublicPreview,
FrontendOnly: false,
AllowSelfServe: true,
Owner: identityAccessTeam,
},
{
Name: "cachingOptimizeSerializationMemoryUsage",

View File

@ -432,7 +432,7 @@ const (
FlagLokiStructuredMetadata = "lokiStructuredMetadata"
// FlagTeamHttpHeaders
// Enables Team LBAC for datasources to apply team headers to the client requests
// Enables LBAC for datasources to apply LogQL filtering of logs to the client requests for users in teams
FlagTeamHttpHeaders = "teamHttpHeaders"
// FlagCachingOptimizeSerializationMemoryUsage

View File

@ -2787,13 +2787,17 @@
{
"metadata": {
"name": "teamHttpHeaders",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-10-17T10:23:54Z"
"resourceVersion": "1726836253132",
"creationTimestamp": "2023-10-17T10:23:54Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-09-20 12:44:13.132845 +0000 UTC"
}
},
"spec": {
"description": "Enables Team LBAC for datasources to apply team headers to the client requests",
"description": "Enables LBAC for datasources to apply LogQL filtering of logs to the client requests for users in teams",
"stage": "preview",
"codeowner": "@grafana/identity-access-team"
"codeowner": "@grafana/identity-access-team",
"allowSelfServe": true
}
},
{