-
Notifications
You must be signed in to change notification settings - Fork 898
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
[WIP] Standalone ServiceUI product features require, updating affected roles #16329
[WIP] Standalone ServiceUI product features require, updating affected roles #16329
Conversation
cc @chriskacerguis |
woops, working the test failures 😬 |
OK soooo I was talking with @imtayadeway and it looks like I have two options to fix the tests... either update https://github.com/ManageIQ/manageiq/blob/master/app/models/miq_user_role.rb#L61-L67 The restrictions no longer apply to the sui, cuz those product features have no power (there). But i defer to the pros 🙇♀️ 😍 🍭 |
c91e323
to
9bfbbf9
Compare
This pull request is not mergeable. Please rebase and repush. |
9bfbbf9
to
6f3cbf6
Compare
Ok giving up on what I said 3 days ago, added back restrictions, touching as little code as possible in hopes of getting this in ❤️ 🙇 |
Adding customary ✂️ 🔥 🚽 |
@AllenBW It's not clear if the features that are being removed were never supposed to be allowed for the roles |
@gtanzillo I can't comment on if the features removed were ever supposed to be allowed, and good point! It is my understanding that these roles are designed to only have sui access/privileges. If this is true, than removing all features when they log into ops sounds like the right call. Thoughts from the powers that be? @chriskacerguis @ohadlevy ? |
I'm on the same page as @AllenBW, but I don't have the history to comment on your question...BUT, like I said, I agree with Allen's assessment |
Hmm, I know this was around long before SUI. And, I've seen prod DBs with this role in use. So I'm still not sure. Does this PR need to be merged before the freeze tonight? |
@gtanzillo no, I don't think so |
I think we need input from @Loicavenel. Those roles were originally for the self service user in OPS. The Service Catalog area still exists in the OPS UI and some, perhaps many, users/customers still use it for access. The question for PM is should the existing roles allow both OPS and SUI access to the Services area or should we leave the existing roles as they are and add new OOTB roles for SUI access? |
We should keep these roles and update it with new SUI RBAC part to offer same functionalities..or close to. Then users can connect to OSP UI or SUI with the same Role and get the same experience |
SUI product features are no longer embedded in overall product features
6f3cbf6
to
161acb8
Compare
Updated as per your guidance @Loicavenel |
@miq-bot add_label wip so additional comments have been made in the bz... https://bugzilla.redhat.com/show_bug.cgi?id=1507029 and ask has been expanded. For all existing roles that have SUI equivalent functionality, those SUI specific product features should be added to them. I could use some help on this one 😕 @Loicavenel and anyone else with a firm grasp of roles and product features |
Adds sui_services_view for all roles that contain service_view Adds sui_services for all roles that contain service
Adds sui_vm_console where vm_vnc_console Adds sui_vm_web_console where cockpit_console Adds sui_vm_tags where vm_tag Adds sui_vm_start/stop/suspend where vm_start/stop/suspend
Adds sui_ordres_operations where miq_request_admin
Checked commits AllenBW/manageiq@161acb8~...c087477 with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0 |
@Loicavenel @chriskacerguis Using this mapping (OPS UI & SUI Roles - Sheet1.pdf) we have mapped sui and opsui product features. I know its tedious to review, but you're input on this and where we go from here is very much so appreciated |
I am good this PDF is my spreadsheet :) |
@chriskacerguis @anyone ? Looking for some thoughts/eyes/guidance on what we are doing here ❓ 👍 cuzzz we all know 🐝 💤 don't 💀 till you 🔪 them 🤔 |
@miq-bot remove_label wip |
Another 5 days has passed, just popping in to remind anyone that notices we have a high priority bz attached to this: https://bugzilla.redhat.com/show_bug.cgi?id=1507029 |
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.
@AllenBW, looks good 👍 Sorry for the delay getting to this!
@gtanzillo No worries!! Apologies if this sounded impatient, know everyone us busy, just wanted to gently keep it on the radar 🍍 💌 thanks for the merge!! |
|
@simaishi yis yis yis yis shoulda added that as tag, target is 5.9 https://bugzilla.redhat.com/show_bug.cgi?id=1507029 |
…roduct-features Standalone ServiceUI product features require, updating affected roles (cherry picked from commit e1b3984) https://bugzilla.redhat.com/show_bug.cgi?id=1514189
Gaprindashvili backport details:
|
@AllenBW, @Loicavenel, @gtanzillo : why do we have |
@martinpovolny you want to be able to Service UI Role and Ops UI Role differently. |
https://bugzilla.redhat.com/show_bug.cgi?id=1507029
This will require discussion for sure, my understaind of
EvmRole-user_self_service
was all the sui has to offer (well that was made really easy).My understanding of
EvmRole-user_limited_self_service
was everythign except ya cant change the service catalog