From 1779f17329ef4b7ad3b1f515611bd487c528a41d Mon Sep 17 00:00:00 2001 From: "Jason A. Gambino" Date: Wed, 4 Dec 2024 14:49:56 -0500 Subject: [PATCH] adding in dashboard permission --- jobs/upload_tenant/templates/bin/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/upload_tenant/templates/bin/run.sh b/jobs/upload_tenant/templates/bin/run.sh index 8ffeee1a..abd2763c 100644 --- a/jobs/upload_tenant/templates/bin/run.sh +++ b/jobs/upload_tenant/templates/bin/run.sh @@ -28,7 +28,7 @@ curl -X PUT \ curl -X PUT \ ${CA} ${CERT} ${KEY} \ -s https://localhost:9200/_plugins/_security/api/roles/${org}-tenant \ - -H 'Content-Type: application/json' -d'{"tenant_permissions":[{"tenant_patterns": ['"${org_quoted}"'],"allowed_actions": ["kibana_user]}]}' + -H 'Content-Type: application/json' -d'{"tenant_permissions":[{"tenant_patterns": ['"${org_quoted}"'],"allowed_actions": ["kibana_user_with_dashboard_create_permission]}]}' curl -X PUT \ ${CA} ${CERT} ${KEY} \