infra icon indicating copy to clipboard operation
infra copied to clipboard

api: change infra roles to grants-based roles

Open ssoroka opened this issue 2 years ago • 2 comments

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.

ssoroka avatar Apr 22 '22 22:04 ssoroka

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.

github-actions[bot] avatar Aug 04 '22 02:08 github-actions[bot]

This issue was closed because it is inactive.

github-actions[bot] avatar Aug 12 '22 02:08 github-actions[bot]

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.

stale[bot] avatar Nov 05 '22 16:11 stale[bot]