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): Implement check authorization principals based on the schema for action #10072

Open
olehbozhok opened this issue Nov 7, 2024 · 0 comments
Assignees
Labels
comp-cedarling comp-jans-cedarling Touching folder /jans-cedarling enhancement kind-feature Issue or PR is a new feature request
Milestone

Comments

@olehbozhok
Copy link
Contributor

Is your feature request related to a problem? Please describe.
In cedar-policy shema from agama-lab we have 3 principals Workload, User and Role
Currently, for each request we make authorization check for each principal.

And it is hard coded that each principal use namespace "Jans"

Describe the solution you'd like

  • improve parsing cedar-policy schema and add check if principal can be applied to cedar-policy Action
  • add usage of namespace stored in the policy-store

Additional context
In policy store field name describe namespace in the cedar-policy schema

@olehbozhok olehbozhok self-assigned this Nov 7, 2024
@mo-auto mo-auto added the kind-feature Issue or PR is a new feature request label Nov 7, 2024
@moabu moabu added this to the 1.1.6 milestone Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-cedarling comp-jans-cedarling Touching folder /jans-cedarling enhancement kind-feature Issue or PR is a new feature request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants