-
Notifications
You must be signed in to change notification settings - Fork 10
RHDHPAI-1028: Reorganize RBAC for additional permissions #31
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
RHDHPAI-1028: Reorganize RBAC for additional permissions #31
Conversation
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
…hat-ai-dev-vview' ClusterRoleBinding Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
johnmcollier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking this on Michael! I've left a couple comments.
Let's also hold off on merging til https://github.com/redhat-ai-dev/rosa-namespace-provisioner/ is updated, as we'll need the changes in it (granting edit permissions to user's in their personal namespace) first.
…'redhat-ai-dev-view' ClusterRoleBinding Signed-off-by: Michael Valdron <mvaldron@redhat.com>
…e-edit' RoleBinding Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
13f912a to
f7f392a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just one minor comment. But as I mentioned, let's hold off on merging til https://github.com/redhat-ai-dev/rosa-namespace-provisioner/ is updated
@johnmcollier Got the changes open here: redhat-ai-dev/rosa-namespace-provisioner#4 |
…README Signed-off-by: Michael Valdron <mvaldron@redhat.com>
|
@johnmcollier With redhat-ai-dev/rosa-namespace-provisioner#4 its safe to now merge this PR? |
johnmcollier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM let's merge
ref: https://issues.redhat.com/browse/RHDHPAI-1028
Consolidates user groups into a new
redhat-ai-dev-usersGroup referenced underredhat-ai-dev-viewClusterRoleBindingConsolidates user groups into a new
redhat-ai-dev-view-usersGroup to provide cluster-wideviewpermissions to specified users viaredhat-ai-dev-viewClusterRoleBinding.Add
rhoai-workspace-editRoleBindingAdds
rhoai-workspace-editRoleBinding that references theredhat-ai-dev-usersGroup to edit anything under therhoai-workspace.Remove
redhat-ai-dev-editClusterRoleBinding andredhat-ai-dev-edit-usersGroupRemoves
redhat-ai-dev-editClusterRoleBinding andredhat-ai-dev-edit-usersGroup to narrow the permissions to redhat-ai-dev users to just the permissions needed. With the changes above, these larger scope of permissions are no longer needed.Update authorization README file
Update
authorization/README.mdwith the changes above.