Add create_snapshot privilege#31086
Conversation
A new cluster privilege type has been added to ES in elastic/elasticsearch#35820 .
|
Pinging @elastic/kibana-security |
💔 Build Failed |
legrego
left a comment
There was a problem hiding this comment.
We unfortunately have a bit of duplication that we haven't addressed yet. Can you also add this to shield_privileges?
CI is failing because of an outdated snapshot as a result of the new privilege.
You can update the snapshot by running node scripts/jest ./plugins/security/public -u from the x-pack directory.
|
Hey @legrego , thanks for the pointers! I have updated the PR, can you take another look please? Also, elastic/elasticsearch#35820 added a reserved role ( |
💔 Build Failed |
|
This PR will need to have master merged into it to get CI to go green.
It does not, we use the ES APIs to get these roles. |
💚 Build Succeeded |
A new cluster privilege type has been added to ES in [elastic/elasticsearch#35820](elastic/elasticsearch#35820) .
|
Thanks for the shepherding Larry and Brandon! |
|
Sure, backporting to 7.0/6.7 seems fine in this situation. If you'd like, I can do so and let CI run, sometimes the Jest snapshots between branches/versions can be finnicky. |
|
I'll take your kind offer to backport! #31573 is stuck 😞 ... |
A new cluster privilege type has been added to ES in [elastic/elasticsearch#35820](elastic/elasticsearch#35820) .
A new cluster privilege type has been added to ES in [elastic/elasticsearch#35820](elastic/elasticsearch#35820) .
A new cluster privilege type has been added to ES in [elastic/elasticsearch#35820](elastic/elasticsearch#35820) .
A new cluster privilege type has been added to ES in [elastic/elasticsearch#35820](elastic/elasticsearch#35820) .
A new cluster privilege type has been added to ES in [elastic/elasticsearch#35820](elastic/elasticsearch#35820) .
A new cluster privilege type has been added to ES in [elastic/elasticsearch#35820](elastic/elasticsearch#35820) .
A new cluster privilege type has been added to ES in elastic/elasticsearch#35820 .