You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(authz): handle individual resource edge cases in decisions (#2835)
### Proposed Changes
Individual resources should be denied for these cases, instead of an
overall error response
* attribute value FQN not found
* registered resource value FQN not found
* registered resource missing action attribute values altogether
* registered resource missing action attribute values that relate to
request action (i.e. `read ->
https://example.com/attr/attr1/value/value1` but request was for
`delete` action)
### Checklist
- [ ] I have added or updated unit tests
- [ ] I have added or updated integration tests (if appropriate)
- [ ] I have added or updated documentation
### Testing Instructions
(cherry picked from commit fad4437)
// Not an error: deny access to individual resources, not the entire request
193
+
l.WarnContext(ctx, "encountered unknown FQN on resource", slog.Any("error", err))
190
194
}
191
195
l.DebugContext(ctx, "filtered to only entitlements relevant to decisioning", slog.Int("decisionable_attribute_values_count", len(decisionableAttributes)))
0 commit comments