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

Create a physical infrastructure user group #17840

Merged
merged 3 commits into from
Aug 24, 2018

Conversation

skovic
Copy link

@skovic skovic commented Aug 10, 2018

This PR adds a new physical infrastructure user group and a default dashboard for the new group. The default dashboard contains a few physical server widgets.

@miq-bot
Copy link
Member

miq-bot commented Aug 10, 2018

Checked commits skovic/manageiq@3d5f991~...a3ecd11 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 👍

@skovic
Copy link
Author

skovic commented Aug 10, 2018

@miq-bot add_label providers/physical

@skovic
Copy link
Author

skovic commented Aug 10, 2018

@miq-bot add_label enhancement

@skovic
Copy link
Author

skovic commented Aug 10, 2018

@agrare Could you take a look at this PR when you get a chance? Thanks

@skovic
Copy link
Author

skovic commented Aug 16, 2018

@miq-bot assign @agrare

@agrare
Copy link
Member

agrare commented Aug 23, 2018

@gtanzillo can you help review the new role?

@gtanzillo gtanzillo assigned gtanzillo and unassigned agrare Aug 23, 2018
- :name: EvmRole-physical_infrastructure
:read_only: true
:miq_product_feature_identifiers:
- everything
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure we need to give users in a group having this role "everything"? That is the equivalent of a super administrator. Is there a subset of features that these users would need instead of everything?

Since the purpose of this is mainly to give the group a custom dashboard, perhaps it would be good enough to copy the EvmRole-administrator role for this group. Or, maybe you don't need a new role, just a new group that has the new dashboard. What do you think?

Copy link
Author

Choose a reason for hiding this comment

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

@gtanzillo We wanted a usergroup whose members have the same access to everything in the UI that the admin user has but with a default dashboard containing our widgets. Is there a better way to do this?

Copy link
Member

Choose a reason for hiding this comment

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

@skovic I think this is fine if you need the group to have everything. I was thinking that you could just use an existing role with the new group. But, I noticed that the role maps are one to one in naming between group and role, by convention. We might as well keep it that way.

Copy link
Member

@gtanzillo gtanzillo left a comment

Choose a reason for hiding this comment

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

LGTM 👍

- :name: EvmRole-physical_infrastructure
:read_only: true
:miq_product_feature_identifiers:
- everything
Copy link
Member

Choose a reason for hiding this comment

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

@skovic I think this is fine if you need the group to have everything. I was thinking that you could just use an existing role with the new group. But, I noticed that the role maps are one to one in naming between group and role, by convention. We might as well keep it that way.

@gtanzillo gtanzillo added this to the Sprint 93 Ending Aug 27, 2018 milestone Aug 24, 2018
@gtanzillo gtanzillo merged commit 51dd6af into ManageIQ:master Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants