mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 15:49:33 -05:00
AVP builds the action entities, with their memberOf action-group parents, from the policy store's schema. Floci sent the sidecar only the entities in the request, so a policy scoped with `action in NS::Action::"Group"` never matched a member action and IsAuthorized returned DENY where AWS returns ALLOW. IsAuthorized, BatchIsAuthorized and their token variants now merge the schema's action entities into the request entities before evaluation. The schema's definition replaces a caller entity with the same identifier, since IsAuthorized entities cannot include actions and IsAuthorizedWithToken accepts an action entity with only its identifier. An unreadable stored schema is logged and the request is evaluated without schema-derived actions.