Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Show system roles on Roles page #355

Merged
merged 2 commits into from
May 9, 2020
Merged

Show system roles on Roles page #355

merged 2 commits into from
May 9, 2020

Conversation

nevalla
Copy link
Contributor

@nevalla nevalla commented May 8, 2020

This PR will make also system:* roles visible on the dashboard.

Fixes #340

nevalla added 2 commits May 7, 2020 09:25
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
@nevalla nevalla added the enhancement New feature or request label May 8, 2020
@nevalla nevalla requested a review from a team May 8, 2020 19:29
@@ -152,7 +152,7 @@ export class AddRoleBindingDialog extends React.Component<Props> {
};

@computed get roleOptions(): BindingSelectOption[] {
let roles = rolesStore.items.filter(KubeObject.isNonSystem);
let roles = rolesStore.items as Role[]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need as Role[] here?

@jakolehm jakolehm added this to the 3.4.0 milestone May 9, 2020
@jakolehm jakolehm merged commit 1c324a3 into master May 9, 2020
@jakolehm jakolehm deleted the show-system-roles branch May 9, 2020 06:06
@jakolehm jakolehm mentioned this pull request May 9, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make "system:" prefixed ClusterRoles and ClusterRoleBindings optionally visible
2 participants