OpenSearch/elasticsearch/x-pack
jaymode c3b6146a72 shield: clean up hack to force switching to the system user for internal action
This commit cleans up the hack we had forcefully switching the request to execute under the system
user when a internal action gets triggered from a system request. The authorization service now tracks
the originating request in the context to allow us to validate if the request should be run as the system
user.

The system user should be used only when a user action causes an internal action, which needs to
be run by the system user.

Closes elastic/elasticsearch#1403

Original commit: elastic/x-pack-elasticsearch@4972df459f
2016-02-01 14:07:15 -05:00
..
license-plugin shield: clean up hack to force switching to the system user for internal action 2016-02-01 14:07:15 -05:00
marvel Catch IOExcption after core change 2016-02-01 10:27:33 +01:00
shield shield: clean up hack to force switching to the system user for internal action 2016-02-01 14:07:15 -05:00
src migrate from ContextAndHeaders to ThreadContext 2016-01-27 08:02:01 -05:00
watcher Merge branch 'master' into remove_multicast 2016-02-01 07:26:21 -08:00
build.gradle Add Shield HTTP APIs for users and roles 2016-01-18 16:21:22 -07:00