Skip to content
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 update_attributes for saving a user's groups #3917

Merged

Conversation

lgalis
Copy link
Contributor

@lgalis lgalis commented May 10, 2018

Use update_attributes for saving a user's groups. Alternative for #3894

Links

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1574634

Specs here: #3916

@lgalis lgalis force-pushed the use_update_attributes_on_user_groups_save branch from cb7ee05 to 3b574e7 Compare May 22, 2018 19:54
@lgalis
Copy link
Contributor Author

lgalis commented May 22, 2018

@miq-bot add_label bug, settings, gaprindashvili/yes

@miq-bot
Copy link
Member

miq-bot commented May 23, 2018

Checked commits lgalis/manageiq-ui-classic@3b574e7~...8cf6bbe with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. ⭐

@lgalis lgalis changed the title [WIP] Use update_attributes for saving a user's groups Use update_attributes for saving a user's groups May 23, 2018
@lgalis
Copy link
Contributor Author

lgalis commented May 23, 2018

@h-kataria , @himdel - please see my last comment in #3894 - and we can merge either this PR or the 3894.

@miq-bot miq-bot removed the wip label May 23, 2018
@himdel
Copy link
Contributor

himdel commented May 24, 2018

Aaah, sorry for the delay .. I think this PR looks good, thanks! :)
(Not quite sure about the other version yet.)

@ZitaNemeckova
Copy link
Contributor

Tested in UI. LGTM 👍

@himdel himdel merged commit c857b0d into ManageIQ:master May 24, 2018
@lgalis lgalis deleted the use_update_attributes_on_user_groups_save branch May 24, 2018 14:12
@kbrock
Copy link
Member

kbrock commented May 25, 2018

Thanks for figuring this out @lgalis @himdel and @ZitaNemeckova

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants