LBAC for datasources: Update the docs to point to UID instead of ID (#97512)

update the docs
This commit is contained in:
Eric Leijonmarck
2024-12-06 09:48:19 +00:00
committed by GitHub
parent 492c1ebc0e
commit c98dfd3b54
@@ -57,13 +57,13 @@ Content-Length: 131
{ {
"rules": [ "rules": [
{ {
"teamId": "1", "teamUId": "fdnd1pf4m9sxvc",
"rules": [ "rules": [
"{ service_name=\"bigquery-sync-mysql\" }" "{ service_name=\"bigquery-sync-mysql\" }"
] ]
}, },
{ {
"teamId": "2", "teamUid": "dfed1p2m9sxvfc",
"rules": [ "rules": [
"{ service_name=\"api\" }" "{ service_name=\"api\" }"
] ]
@@ -99,13 +99,13 @@ Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
{ {
"rules": [ "rules": [
{ {
"teamId": "1", "teamUId": "fdnd1pf4m9sxvc",
"rules": [ "rules": [
"{ service_name=\"bigquery-sync-mysql\" }" "{ service_name=\"bigquery-sync-mysql\" }"
] ]
}, },
{ {
"teamId": "2", "teamUid": "dfed1p2m9sxvfc",
"rules": [ "rules": [
"{ service_name=\"api\" }" "{ service_name=\"api\" }"
] ]
@@ -127,13 +127,13 @@ Content-Length: 35
"name": "loki", "name": "loki",
"rules": [ "rules": [
{ {
"teamId": "1", "teamUId": "fdnd1pf4m9sxvc",
"rules": [ "rules": [
"{ service_name=\"bigquery-sync-mysql\" }" "{ service_name=\"bigquery-sync-mysql\" }"
] ]
}, },
{ {
"teamId": "2", "teamUid": "dfed1p2m9sxvfc",
"rules": [ "rules": [
"{ service_name=\"api\" }" "{ service_name=\"api\" }"
] ]