OpenSearch/elasticsearch
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 Uppercase ells ('L') in long literals 2016-01-30 22:18:02 -05:00
qa Uppercase ells ('L') in long literals 2016-01-30 22:18:02 -05:00
x-dev-tools reorganize directory layout 2015-12-03 16:22:37 +01:00
x-pack shield: clean up hack to force switching to the system user for internal action 2016-02-01 14:07:15 -05:00
build.gradle reorganize directory layout 2015-12-03 16:22:37 +01:00