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

Enable to configure RBAC resource with label #4918

Open
khanhtc1202 opened this issue May 20, 2024 · 0 comments
Open

Enable to configure RBAC resource with label #4918

khanhtc1202 opened this issue May 20, 2024 · 0 comments
Labels

Comments

@khanhtc1202
Copy link
Member

What would you like to be added:

We can set the RBAC resource as this below currently (ref: https://pipecd.dev/docs-v0.47.x/user-guide/managing-controlplane/auth/)

resources=RESOURCE_NAMES;actions=ACTION_NAMES

I want to make this below work as well

resources=RESOURCE_NAMES{key1:value1,key2:value2};actions=ACTION_NAMES

We have defined the labels in the RBAC resource object in the model already, but does not handle the way it should be treated in submit and while performing auth check on serverside

ref: https://github.com/pipe-cd/pipecd/blob/master/pkg/model/project.proto#L147

Why is this needed:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 New
Development

No branches or pull requests

1 participant