We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adc25f6 commit f7a7622Copy full SHA for f7a7622
policy_set.go
@@ -134,7 +134,7 @@ func (p *PolicySet) UnmarshalJSON(b []byte) error {
134
//
135
// Deprecated: Use the Authorize() function instead
136
func (p PolicySet) IsAuthorized(entities types.EntityGetter, req Request) (Decision, Diagnostic) {
137
- return Authorize(maps.All(p.policies), entities, req)
+ return Authorize(p.All(), entities, req)
138
}
139
140
// All returns an iterator over the (PolicyID, *Policy) tuples in the PolicySet
0 commit comments