Skip to content

feat(jans-cedarling): Implement check authorization principals based on the schema for action #10072

@olehbozhok

Description

@olehbozhok

Is your feature request related to a problem? Please describe.
In cedar-policy schema 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions