-
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
Use admin user in get_user for service show if user's deleted #18663
Use admin user in get_user for service show if user's deleted #18663
Conversation
@miq-bot assign @gtanzillo |
@miq-bot add_label bug |
@miq-bot add_label hammer/yes |
b895347
to
0725b15
Compare
@tinaafitz Tina, could you confirm that it is ok to use |
@yrudman I think it would be better to use super_admin. |
@d-m-u This looks good once you make the change Tina and I suggested. Need to add tests as well. |
0725b15
to
66c968e
Compare
66c968e
to
bfa2892
Compare
Checked commit d-m-u@bfa2892 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@tinaafitz @gtanzillo please take another look |
@miq-bot add_label hammer/yes |
…ser_deletion Use admin user in get_user for service show if user's deleted (cherry picked from commit ab9a0ba) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1702080
Hammer backport details:
|
If users are deleted, the SUI can break on service viewing. This allows us to resort to admin if the service user can't be found.
Yuri wants this opened for https://bugzilla.redhat.com/show_bug.cgi?id=1677744.