feat(apl): grant read_headers to all policy handlers#120
Merged
Conversation
Entity routes and defaults now receive read_headers alongside the global HTTP handler, so http.* is available to per-entity policy evaluation. Bump to 0.2.2. Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com>
Bring in the human-in-the-loop (HIL) elicitation feature and the numeric string-coercion change for order comparisons (#115), plus the new elicitation/ciba builtin plugin. Conflict resolution: - Cargo.toml: keep the 0.2.2 workspace version across the internal-dep table and add the new cpex-plugin-elicitation-ciba entry at 0.2.2. - CHANGELOG.md: fold dev's [Unreleased] entries (HIL elicitation; numeric order-comparison coercion) into the existing [0.2.2] release entry alongside the read_headers change, dropping the separate [Unreleased] section. Workspace builds; fmt + clippy (-D warnings) clean; full test suite passes (936); hugo docs build clean. Signed-off-by: Frederico Araujo <frederico.araujo@ibm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Grant
read_headersto every synthetic policy handler (entity routes and defaults), not just the global HTTP catch-all.http.*request attributes are now available to per-entity policy evaluation wherever the host attaches anHttpExtension, so one policy can combinehttp.*with entity/args.*predicates in a single evaluation.http.hostremains sourced from a validated request authority, never a raw clientHostheader.apl-cpexregression test; bumps the workspace to 0.2.2 with a CHANGELOG entry.