-
Notifications
You must be signed in to change notification settings - Fork 356
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
Add Set Ownership to Key Pairs #5973
Conversation
@PanSpagetka we will need to add this in the Product features as well. |
@PanSpagetka one more thing, can we add ownership information on the summary screen as well. Same for the Hammer PR. |
d7de6f8
to
0a0d238
Compare
@miq-bot add_label pending core |
42841dc
to
b879cba
Compare
Tested on master. The PR partly solves the problem: Keypairs now have correct |
b879cba
to
31a00b4
Compare
@andyvesel thanks for testing we had similar result with @PanSpagetka if you have still this setup , can you try it ? thanks! |
@lpichler yes, I'll try it |
Checked, LGTM 👍 |
31a00b4
to
5accb14
Compare
Checked commits PanSpagetka/manageiq-ui-classic@5b6f8e7~...5accb14 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0 app/helpers/application_helper/toolbar/auth_key_pair_cloud_center.rb
app/helpers/application_helper/toolbar/auth_key_pair_clouds_center.rb
|
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 all ! LGTM & tested 👍 👍 so I am also confirming funcionality:
- if user belongs to root tenant (My Company) he will see all Key Pairs
- if user doesn't belongs to root tenant (My Company) he will see only Key Pairs with the user's tenant (Key Pairs can have tenant derived from assigned group in set ownership screen)
role's restriction :
-
if user's role "Access Restriction for Services, VMs, and Templates" is set to Owned Group then user will see Key Pairs with this user's group(group is set in set ownership screen of Key Pairs)
-
if user's role "Access Restriction for Services, VMs, and Templates" is set to Owned Group or User then user will see Key Pairs with this user's group or user (group or user is set in set ownership screen of Key Pairs)
I'm pretty sure there are collisions with #5863 |
@PanSpagetka 🍝 got conflict and he did rebase. |
Yeah, because rebasing always solves the problem 😆 the page is broken |
|
ManageIQ/manageiq-api#650 this PR solves the problem |
Add Set Ownership to Key Pairs (cherry picked from commit 5692b46) https://bugzilla.redhat.com/show_bug.cgi?id=1589766 https://bugzilla.redhat.com/show_bug.cgi?id=1730066
Ivanchuk backport details:
|
Backported to Hammer via #5967 |
Master version of #5967
Links [Optional]
#5967
https://bugzilla.redhat.com/show_bug.cgi?id=1589766
https://bugzilla.redhat.com/show_bug.cgi?id=1730066
ManageIQ/manageiq#19124
Screenshots