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

Role-Binding V2 #220

Closed
wants to merge 1 commit into from
Closed

Conversation

bailinhe
Copy link
Contributor

@bailinhe bailinhe commented Mar 6, 2024

continue work on #219

The API should be updated to use them in place of direct role assignments. The scope of this task is to make the following API changes:

Roles

Create appropriate action relationships from the roles to subject:* type relationships rather than relationships from other resources to the roles

Assignments

Create a binding when creating an assignment rather than creating a direct membership to the role

List both bindings and direct memberships when listing assignments (and show an ID for bindings)

Delete both bindings and direct memberships when deleting assignments

Check permissions based on binding_{create,get,update,delete} actions rather than role-specific actions

See this OpenAPI specs for full list of APIs

@bailinhe bailinhe force-pushed the role-binding-v2 branch 9 times, most recently from ccd4b7c to 483e818 Compare March 12, 2024 22:11
@bailinhe bailinhe force-pushed the role-binding-v2 branch 6 times, most recently from 1084ab2 to 57298ab Compare April 10, 2024 13:53
@bailinhe bailinhe force-pushed the role-binding-v2 branch 5 times, most recently from a527940 to 2a94e5f Compare April 11, 2024 20:44
@bailinhe bailinhe marked this pull request as ready for review April 11, 2024 22:37
@bailinhe bailinhe requested review from a team as code owners April 11, 2024 22:37
@bailinhe bailinhe closed this Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant