-
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
RBAC for User model regard to allowed role #14898
Conversation
Checked commits lpichler/manageiq@6a795af~...0481589 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
cc @isimluk |
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.
👍
Except I don't like the disallowed_roles
that returns nil
or false
or list of disallowed roles.
Could you please consider a follow-up for disallowed_roles
to always return list (i.e. empty list instead of nil
and false
)?
Thanks!
I think we will need a bugzilla if we want |
@isimluk yes sure in follow up 📝 PR, thanks! |
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.
👍
RBAC for User model regard to allowed role (cherry picked from commit 5697c1c) https://bugzilla.redhat.com/show_bug.cgi?id=1447373
Added Fine backport details:
|
@miq-bot add_label euwe/yes |
RBAC for User model regard to allowed role (cherry picked from commit 5697c1c) https://bugzilla.redhat.com/show_bug.cgi?id=1460979
Euwe backport details:
|
follow up for #13689
Hide users with role which is disallowed for logged user's role. (according to this array )
@miq-bot add_label core, rbac, bug, fine/yes
@miq-bot assign @gtanzillo