update index privilege to include shard action for indices:data/write/update
Original commit: elastic/x-pack-elasticsearch@d10b763c91
This commit is contained in:
parent
b54d9f9f3c
commit
dbca30808f
|
@ -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 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 GET = new Index("get", GetAction.NAME + "*", MultiGetAction.NAME + "*");
|
||||||
public static final Index SUGGEST = new Index("suggest", SuggestAction.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 DELETE = new Index("delete", "indices:data/write/delete*");
|
||||||
public static final Index WRITE = new Index("write", "indices:data/write/*");
|
public static final Index WRITE = new Index("write", "indices:data/write/*");
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,7 @@ indices:data/write/bulk[s]
|
||||||
indices:data/write/bulk[s][r]
|
indices:data/write/bulk[s][r]
|
||||||
indices:data/write/delete[r]
|
indices:data/write/delete[r]
|
||||||
indices:data/write/index[r]
|
indices:data/write/index[r]
|
||||||
|
indices:data/write/update[s]
|
||||||
indices:monitor/recovery[s]
|
indices:monitor/recovery[s]
|
||||||
indices:monitor/segments[s]
|
indices:monitor/segments[s]
|
||||||
indices:monitor/shard_stores
|
indices:monitor/shard_stores
|
||||||
|
|
Loading…
Reference in New Issue