Skip to content

Commit

Permalink
adding in dashboard permission
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonTheMain committed Dec 4, 2024
1 parent 3876ab7 commit 1779f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/upload_tenant/templates/bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down

0 comments on commit 1779f17

Please sign in to comment.