Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing so users won't mess up there tenant #129

Merged
merged 21 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -377,5 +377,6 @@ cf_user:
fls:
allowed_actions:
- "read"
- "create"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was just seeing that, it should be ready now

tenant_permissions: []
static: false
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_all_write"]}]}'
-H 'Content-Type: application/json' -d'{"tenant_permissions":[{"tenant_patterns": ['"${org_quoted}"'],"allowed_actions": ["kibana_user"]}]}'

curl -X PUT \
${CA} ${CERT} ${KEY} \
Expand Down