-
Notifications
You must be signed in to change notification settings - Fork 897
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
Fix RBAC for User and enable tagging for Tenants #17061
Fix RBAC for User and enable tagging for Tenants #17061
Conversation
ebb5b7f
to
e8f44c7
Compare
Checked commits lpichler/manageiq@8194595~...e8f44c7 with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0 |
This PR breaks UI-classic travis:
EDIT: looks like this is being addressed in ManageIQ/manageiq-ui-classic#3533 :) |
…er_and_miq_group Fix RBAC for User and enable tagging for Tenants (cherry picked from commit d31d9d7) https://bugzilla.redhat.com/show_bug.cgi?id=1553776 https://bugzilla.redhat.com/show_bug.cgi?id=1553779
Gaprindashvili backport details:
|
@lpichler @gtanzillo Can this PR and ManageIQ/manageiq-ui-classic#3494 be |
@simaishi yes it can be 👍(hopefully without conflict) but together with ManageIQ/manageiq-ui-classic#3533 (fix for tests in UI repo caused by this PR) |
@lpichler There is a conflict in |
@simaishi I will create FINE PRs all these (I found to other one in API) Fix for broken specs: Fix for BZ(s): |
Backported to Fine via #17292 |
There are two things in this PR:
1) Fix RBAC for User:
before fix:
Restricted user was able to see all groups and all users.
after fix:
Restricted user can see only his groups and users from his groups
2) Enable tagging for Tenants
Tenants are taggable but this was not included in RBAC.
How it is related to chargeback BZ?
in filter tab, there are list of tenants and users(owners) (select box Show costs by). And these lists will be visible after UI fix for this BZ stated below.
Links
@miq-bot assign @gtanzillo
@miq-bot add_label bug, rbac
@miq-bot add_label gaprindashvili/yes