Skip to content

[9.1] Fix case sensitivity of fields in role page (#246069)#246649

Merged
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-246069
Dec 16, 2025
Merged

[9.1] Fix case sensitivity of fields in role page (#246069)#246649
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-246069

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

Closes elastic#244000

## Summary

This PR makes the index privileges field combos on the Edit Role page
case sensitive to correlate to how fields are handled in Elasticsearch.

### Screenshots
<img width="914" height="336" alt="Screenshot 2025-12-11 at 14 33 58"
src="https://github.com/user-attachments/assets/dcd0b4a8-4cb1-4216-a4d9-83ec0bdb7234"
/>

<img width="911" height="338" alt="Screenshot 2025-12-11 at 14 33 02"
src="https://github.com/user-attachments/assets/c9bd09a4-4a44-4d9a-ac74-1aff6be006eb"
/>

### Tests
- x-pack/platform/test/functional/apps/security/field_level_security.ts

## Release note
Fixes an issue where fields were not case-sensitive in Kibana's user
interface for creating and updating roles, though fields are
case-sensitive in Elasticsearch.

(cherry picked from commit c4e2c1f)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Dec 16, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) December 16, 2025 21:47
@kibanamachine kibanamachine merged commit 9a2b4ed into elastic:9.1 Dec 16, 2025
17 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
security 505.8KB 505.8KB +38.0B

cc @jeramysoucy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

3 participants