Skip to content

Commit

Permalink
Fix CEL
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Snaps <[email protected]>
  • Loading branch information
alexsnaps committed Oct 30, 2024
1 parent c4a2898 commit baa37c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/v1beta3/authconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ spec:
- predicate: auth.identity["jwt-rbac"]
patternMatching:
patterns:
- predicate: auth.identity.roles.contains("admin")
- predicate: auth.identity.roles.exists(r, r == "admin")
resource-owner:
when:
- predicate: request.path.matches("^/greetings/\\d+$")
Expand Down

0 comments on commit baa37c3

Please sign in to comment.