Fix auth multi-rule edgecase (#1418)

Co-authored-by: Ben Toogood <ben@micro.mu>
This commit is contained in:
ben-toogood 2020-03-26 15:52:48 +00:00 committed by GitHub
parent 844c456839
commit 42b6bf5bbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,7 +219,7 @@ func accessForRule(rule *rulePb.Rule, acc *auth.Account, res *auth.Resource) rul
} }
} }
return rulePb.Access_DENIED return rulePb.Access_UNKNOWN
} }
// listRules gets all the rules from the store which have an id // listRules gets all the rules from the store which have an id