update index privilege to include shard action for indices:data/write/update

Original commit: elastic/x-pack-elasticsearch@d10b763c91
This commit is contained in:
jaymode 2015-07-21 10:22:53 -04:00
parent b54d9f9f3c
commit dbca30808f
2 changed files with 2 additions and 1 deletions

View File

@ -150,7 +150,7 @@ public abstract class Privilege<P extends Privilege<P>> {
public static final Index SEARCH = new Index("search", SearchAction.NAME + "*", MultiSearchAction.NAME + "*", SuggestAction.NAME + "*");
public static final Index GET = new Index("get", GetAction.NAME + "*", MultiGetAction.NAME + "*");
public static final Index SUGGEST = new Index("suggest", SuggestAction.NAME + "*");
public static final Index INDEX = new Index("index", "indices:data/write/index*", "indices:data/write/update");
public static final Index INDEX = new Index("index", "indices:data/write/index*", "indices:data/write/update*");
public static final Index DELETE = new Index("delete", "indices:data/write/delete*");
public static final Index WRITE = new Index("write", "indices:data/write/*");

View File

@ -46,6 +46,7 @@ indices:data/write/bulk[s]
indices:data/write/bulk[s][r]
indices:data/write/delete[r]
indices:data/write/index[r]
indices:data/write/update[s]
indices:monitor/recovery[s]
indices:monitor/segments[s]
indices:monitor/shard_stores