-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Set spaces and roles CRUD APIs to public #193534
base: main
Are you sure you want to change the base?
Conversation
Pinging @elastic/kibana-security (Team:Security) |
🤖 Jobs for this PR can be triggered through checkboxes. 🚧
ℹ️ To trigger the CI, please tick the checkbox below 👇
|
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7002[✅] x-pack/test_serverless/api_integration/test_suites/search/config.feature_flags.ts: 50/50 tests passed. |
💔 Build FailedFailed CI StepsHistory
To update your PR or re-run it, just comment with: |
Closes #192153
Summary
This PR sets the spaces and roles CRUD operation HTTP API endpoints to public in both stateful and serverless offerings, and additionally, switches to the versioned router to register these endpoints.
Prior to this PR, the access level was not explicitly set, thus any endpoints registered in serverless were by default internal. CRUD operations for spaces and roles are being set to public to support the rollout of custom roles in serverless, which coincides with enabling multiple spaces.
Note
xpack.security.roleManagementEnabled
)xpack.spaces.maxSpaces
to a number greater than 1 (stateful default is 1000), it will effectively enable use of the spaces CRUD operations in serverless.Tests
Manual Testing
Elasticsearch:
KIbana: