Fix auth multi-rule edgecase (#1418)
Co-authored-by: Ben Toogood <ben@micro.mu>
This commit is contained in:
parent
844c456839
commit
42b6bf5bbf
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user