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} \