-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrated Snapshot and Restore tests to use test user #126011
Migrated Snapshot and Restore tests to use test user #126011
Conversation
@cuff-links could you mention any doc links you found that either have the required privs defined or need to have them defined? I don't really know if |
@elasticmachine merge upstream |
As far as the elasticsearch privileges go, I referenced https://www.elastic.co/guide/en/elasticsearch/reference/8.0/security-privileges.html. That's where I got the |
jenkins test this |
Per https://www.elastic.co/guide/en/elasticsearch/reference/master/snapshots-register-repository.html#snapshot-repo-prereqs, the required permissions are: Cluster privileges: |
…ub.com:cuff-links/kibana into Migrate_Snapshot_Restore_Tests_To_Use_TestUser
…r snapshot restore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - code review only
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
Friendly reminder: Looks like this PR hasn’t been backported yet. |
* Migrated Snapshot and Restore tests to use test user. * added another permission to address unauthorized failure. * Added metadata perms for kibana administration. * Testing out different permissions. * Edited test to not refresh page after role is set. Causing errors. * Adjusted perms per documentation. * Addded link to the documentation specifying the permissions needed for snapshot restore. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit d746bd4)
* Migrated Snapshot and Restore tests to use test user. * added another permission to address unauthorized failure. * Added metadata perms for kibana administration. * Testing out different permissions. * Edited test to not refresh page after role is set. Causing errors. * Adjusted perms per documentation. * Addded link to the documentation specifying the permissions needed for snapshot restore. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit d746bd4)
* Migrated Snapshot and Restore tests to use test user. * added another permission to address unauthorized failure. * Added metadata perms for kibana administration. * Testing out different permissions. * Edited test to not refresh page after role is set. Causing errors. * Adjusted perms per documentation. * Addded link to the documentation specifying the permissions needed for snapshot restore. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit d746bd4)
* Migrated Snapshot and Restore tests to use test user. * added another permission to address unauthorized failure. * Added metadata perms for kibana administration. * Testing out different permissions. * Edited test to not refresh page after role is set. Causing errors. * Adjusted perms per documentation. * Addded link to the documentation specifying the permissions needed for snapshot restore. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit d746bd4)
* Migrated Snapshot and Restore tests to use test user. * added another permission to address unauthorized failure. * Added metadata perms for kibana administration. * Testing out different permissions. * Edited test to not refresh page after role is set. Causing errors. * Adjusted perms per documentation. * Addded link to the documentation specifying the permissions needed for snapshot restore. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit d746bd4)
* Migrated Snapshot and Restore tests to use test user. * added another permission to address unauthorized failure. * Added metadata perms for kibana administration. * Testing out different permissions. * Edited test to not refresh page after role is set. Causing errors. * Adjusted perms per documentation. * Addded link to the documentation specifying the permissions needed for snapshot restore. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit d746bd4)
* Migrated Snapshot and Restore tests to use test user. * added another permission to address unauthorized failure. * Added metadata perms for kibana administration. * Testing out different permissions. * Edited test to not refresh page after role is set. Causing errors. * Adjusted perms per documentation. * Addded link to the documentation specifying the permissions needed for snapshot restore. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This PR is part of the meta issue #60815 to migrate functional tests to use
test_user
.