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

allow creation of policies at resource creation time #15

Open
chicco785 opened this issue Jan 21, 2022 · 1 comment
Open

allow creation of policies at resource creation time #15

chicco785 opened this issue Jan 21, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@chicco785
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Ideally a resource owner should be able to attach the policies he wants for his resource directly at creation time.

Describe the solution you'd like

A mechanism that allow to attach policy definition in the header, parse them and inject them in auth api, following the resource creation.

Describe alternatives you've considered
N/A

Additional context
N/A

@chicco785 chicco785 added the enhancement New feature or request label Jan 21, 2022
@chicco785 chicco785 changed the title allow creation of policies from headers on resource creation allow creation of policies at resource creation time Jan 21, 2022
@chicco785 chicco785 assigned Cerfoglg and unassigned c0c0n3 Jan 26, 2022
@chicco785 chicco785 added this to the 0.2 milestone Feb 8, 2022
@chicco785
Copy link
Contributor Author

A similar solution as the one adopted in #42 could be used. The decision to be taken is how to pass the policy in the header, and what to do if the policy cannot be correctly parsed / validated. Of course policy passed at creation time cannot affect other resources than the ones created!!!

@chicco785 chicco785 modified the milestones: 0.2, 0.4 May 5, 2022
@chicco785 chicco785 modified the milestones: 0.4, 0.6 Jun 14, 2022
@chicco785 chicco785 modified the milestones: 0.6, 1.0 Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants