[ML] Rename action now it's run by _xpack instead of _system (elastic/x-pack-elasticsearch#831)

The _xpack user cannot run internal actions

Original commit: elastic/x-pack-elasticsearch@2dc4a30582
This commit is contained in:
David Roberts 2017-03-24 15:20:20 +00:00 committed by GitHub
parent d33cbaf9be
commit f816a5708c
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ public class UpdateProcessAction extends
Action<UpdateProcessAction.Request, UpdateProcessAction.Response, UpdateProcessAction.RequestBuilder> {
public static final UpdateProcessAction INSTANCE = new UpdateProcessAction();
public static final String NAME = "internal:admin/ml/job/update/process";
public static final String NAME = "cluster:internal/ml/job/update/process";
private UpdateProcessAction() {
super(NAME);

View File

@ -137,10 +137,10 @@ cluster:admin/ml/datafeeds/start
cluster:admin/ml/job/open
cluster:admin/ml/job/update
indices:internal/data/write/mldeletebyquery
internal:admin/ml/job/update/process
cluster:internal/ml/job/update/process
cluster:admin/ml/delete_expired_data
cluster:admin/persistent/create
cluster:admin/persistent/start
cluster:admin/persistent/completion
cluster:admin/persistent/update_status
cluster:admin/persistent/remove
cluster:admin/persistent/remove