pipecd
pipecd copied to clipboard
Add the names of project rbac role to the role model
What this PR does / why we need it: Add the name of project rbac role to the role model to prepare to use the new rbac.
CAUTION: This PR may affect the existing jwt authentication so, I'm glad if you look at this carefully.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:
NONE
If the user belongs to multi teams, the role of the group defined earlier is applied.
This note confused me a bit. How about merging all group roles, and the strongest one will be applied? I think it would be better for the users.
@khanhtc1202 I thought so too at first but actually, the definition of the strongest one is difficult for the custom RBAC role. That's why I adapted the definition priority of the user groups.
Interesting feature! Is There a Chance for the code review to happen soon ?
Interesting feature! Is There a Chance for the code review to happen soon ?
@rfelgent Hi. Thank you for your comment. Our team is working on this feature right now. Hopefully, we can have it soon.