Skip to content

Commit

Permalink
fix(grammar): use right queries on deny policies (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
miton18 authored Feb 11, 2025
1 parent 2d555db commit 03f848b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/grammar.go
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ func (p *Policy) ToBiscuit(parameters ParametersMap) (*biscuit.Policy, error) {
}
case p.Deny != nil:
{
parsedQueries = p.Allow.Queries
parsedQueries = p.Deny.Queries
kind = biscuit.PolicyKindDeny
break
}
Expand Down

0 comments on commit 03f848b

Please sign in to comment.