kibana
kibana copied to clipboard
[Lists Plugin] Migrate authc.getCurrentUser usage to coreContext.secu…
Part of https://github.com/elastic/kibana/issues/186574
Summary
This PR migrates the Lists Plugin's ListsRequestHandlerContext
, which consumes authc.getCurrentUser
, to use coreStart.security
.
Background: This PR serves as an example of a plugin migrating away from depending on the Security plugin, which is a high priority effort for the last release before 9.0.
Checklist
Delete any items that are not applicable to this PR.
- [X] Unit or functional tests were updated or added to match the most common scenarios