infra
infra copied to clipboard
api: change infra roles to grants-based roles
Is your feature request related to a problem? Please describe.
Infra roles are currently hard-coded things that exist in the codebase. This deprives us of an opportunity to use the grant system for grant-based roles––that we expect users to use––and use the opportunity to learn from it and improve the authorization system.
Describe the solution you'd like
The grants system supports defining roles as grants.
- permissions can be defined as grants. define those permissions.
- Define Infra roles as grants composed of permissions.
- use the grants system to answer questions about whether users have access to specific resources, rather than whether they have a specific role.
Additional context
I'll write up some docs on how I see permission and role definitions working as grant declarations.
This issue has not seen any activity in a while. Add a comment if this issue is still relevant, otherwise it will be closed in 7 days.
This issue was closed because it is inactive.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.