Skip to content

Commit

Permalink
ouf
Browse files Browse the repository at this point in the history
  • Loading branch information
albertzaharovits committed Jul 3, 2024
1 parent 53670f8 commit 63e838b
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,6 @@ teardown:
- match: { role_with_description.cluster.0: "manage_security" }
- match: { role_with_description.description: "Allows all security-related operations such as CRUD operations on users and roles and cache clearing." }

- do:
security.bulk_delete_role:
body: >
{
"names": ["admin_role", "role_with_description"]
}
- match: { deleted.0: "admin_role" }
- match: { deleted.1: "role_with_description" }

# query match_all roles
- do:
headers:
Expand All @@ -96,3 +87,12 @@ teardown:
- match: { count: 2 }
- match: { roles.0.name: "admin_role" }
- match: { roles.1.name: "role_with_description" }

- do:
security.bulk_delete_role:
body: >
{
"names": ["admin_role", "role_with_description"]
}
- match: { deleted.0: "admin_role" }
- match: { deleted.1: "role_with_description" }

0 comments on commit 63e838b

Please sign in to comment.