dguhr-rh
01/25/2023, 3:32 PMLookupResources
here: https://github.com/RedHatInsights/authz-experiments/blob/main/engine_eval/zanzibar/authzed/attributefilterdemo/src/main.go#L71-L90
we're trying to get those resources and put them into a slice. The only way we found so-far is in line 81-90 but this looks a bit strange. Is there another, more idiomatic way? If not, can you tell us more about the reason this is how it is?Joey
01/25/2023, 3:35 PMerrors.Is
, but otherwise seems fine: https://github.com/authzed/zed/blob/main/internal/commands/permission.go#L336dguhr-rh
01/25/2023, 3:45 PMwscalf
01/25/2023, 3:46 PMJoey
01/25/2023, 3:51 PMwscalf
01/25/2023, 5:17 PMJoey
01/25/2023, 5:21 PM