Skip to content

Fix role index privilege panel resizing#280883

Draft
sophiec20 wants to merge 2 commits into
elastic:mainfrom
sophiec20:fix-roles-index-privileges-responsive
Draft

Fix role index privilege panel resizing#280883
sophiec20 wants to merge 2 commits into
elastic:mainfrom
sophiec20:fix-roles-index-privileges-responsive

Conversation

@sophiec20

@sophiec20 sophiec20 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #232634

  • Allows the index privilege panel to shrink inside the role editor flex layout.
  • Enables Monaco automatic layout for the document-level security query editor.
  • Adds a focused regression assertion for the DLS editor resize behavior.

Screenshot

Captured from a running local Kibana instance at /app/management/security/roles/edit/codex_dls_screenshot_role after resizing the viewport.

=Before=
image

=After=
image

Testing

  • node scripts/jest x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/index_privilege_form.test.tsx
  • node scripts/eslint x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/index_privilege_form.tsx x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/es/index_privilege_form.test.tsx

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown
🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!
  • Click to trigger kibana-entity-store-performance-from-pr for this PR!
  • Click to trigger kibana-storybooks-from-pr for this PR!

@sophiec20
sophiec20 force-pushed the fix-roles-index-privileges-responsive branch from 9a8405d to 63bbcce Compare July 24, 2026 21:12
@sophiec20 sophiec20 added the Team:Security Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t// label Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team:Security Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t//

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Edit Roles / Index privileges controls are not responsive

1 participant