OpenSearch/elasticsearch/qa/smoke-test-graph-with-shield
jaymode d08446e221 security: add reserved roles and users
This commit adds reserved or built-in user and role support to x-pack. The reserved roles
cannot be modified by users. The reserved users also cannot be modified with the exception
of changing the password for a user.

In order to change the password for a user, a new API has been added. This API only supports
changing passwords for native and reserved users.

To support allowing a user to change their own password, a default role has been added to grant
access. This default role only grants access to user operations that pertain to the user that is
being authorized. In other words, the default role grants `joe` the ability to change their own password
but does not allow them to change the password of a different user.

Additionally, the authenticate API was made a transport action and is granted by the default role.

Closes elastic/elasticsearch#1727
Closes elastic/elasticsearch#1185
Closes elastic/elasticsearch#1158

Original commit: elastic/x-pack-elasticsearch@1a6689d90f
2016-04-06 18:23:18 -04:00
..
src/test/java/org/elasticsearch/smoketest rename graph actions 2016-03-17 14:31:03 -04:00
build.gradle security: add reserved roles and users 2016-04-06 18:23:18 -04:00
roles.yml remove watcher and graph privileges. manage does not include security 2016-03-17 14:31:03 -04:00