Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jans-cedarling): add policy id in response of sidecar #10492

Open
2 tasks done
SafinWasi opened this issue Dec 23, 2024 · 0 comments
Open
2 tasks done

feat(jans-cedarling): add policy id in response of sidecar #10492

SafinWasi opened this issue Dec 23, 2024 · 0 comments
Assignees
Labels
comp-jans-cedarling Touching folder /jans-cedarling kind-feature Issue or PR is a new feature request
Milestone

Comments

@SafinWasi
Copy link
Contributor


Description

The policy ID used for the decision evaluation needs to be returned in the response from the sidecar. This would conform to the AuthZen spec like so:

{
  "decision": true,
  "context": {
    "id": "0",
    "reason_admin": {
      "policy_id": "abcdef"
    }
  }
}

Prepare

  • Read contribution guidelines
  • Read license information

Identified code changes

Add context for the policy id used for the decision


Test cases and code coverage

N/A


Document the changes

-[ ] Update docs and example

@SafinWasi SafinWasi self-assigned this Dec 23, 2024
@mo-auto mo-auto added comp-jans-cedarling Touching folder /jans-cedarling kind-feature Issue or PR is a new feature request labels Dec 23, 2024
@moabu moabu modified the milestones: 1.2.0, next release Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-cedarling Touching folder /jans-cedarling kind-feature Issue or PR is a new feature request
Projects
None yet
Development

No branches or pull requests

3 participants