Security plugin capabilities switcher does not ignore features outside of its security model #153817
Labels
bug
Fixes for quality problems that affect the customer experience
Team:Security
Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Kibana version: <= 8.6
Description: The security plugin's capabilities switcher should be ignoring features which have opted out of its security controls, but it does not make this distinction. This was discovered via investigation into #146881, where it was found that the security plugin would erroneously disable features outside of its purview which were intended to be exclusively controlled by Enterprise Search. See discussion here.
This issue is blocking the ability to implement parallel execution of capabilities switchers, #152982.
Relevant section of code: https://github.com/elastic/kibana/blob/b84972fb361e888a6c122bb533deac4d7719ac41/x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts#LL70C6-L70C6
The text was updated successfully, but these errors were encountered: