Created attachment 1623309 [details] switching groups bz Description of problem: Changing groups with a user assigned to multiple groups under database authentication type logs out of the appliance. See attached gif Version-Release number of selected component (if applicable): 5.11.0.27 How reproducible: 100% Steps to Reproduce: 1. Create a user that belongs to multiple groups 2. Login with that user 3. Change groups Actual results: [----] E, [2019-10-07T14:38:47.980382 #8181:2af3a9b8a688] ERROR -- : MIQ(dashboard_controller-login): Session was timed out due to inactivity. Please log in again. Expected results: User should be able to change between groups without having to login again. This is the case in 5.10 Additional info: Marking as regression, appears to be a related to bug 1540733, bug 1533222, and bug 1542219
Note that when the user logs back in the do have the new group assigned, which serves as a workaround.
https://github.com/ManageIQ/manageiq-ui-classic/pull/6325
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/36e1bae58b1b80d82acb74b9744c459c67017f72 commit 36e1bae58b1b80d82acb74b9744c459c67017f72 Author: Martin Hradil <mhradil> AuthorDate: Tue Oct 22 16:29:46 2019 -0400 Commit: Martin Hradil <mhradil> CommitDate: Tue Oct 22 16:29:46 2019 -0400 Prevent login redirect during change_group Once the group changes, ongoing requests start failing. Prevent the login redirect code from redirecting to login page in these cases, the requests are expected to fail, we're about to redirect to a new starting page anyway. Related to https://github.com/ManageIQ/manageiq-ui-classic/pull/6065 (and https://bugzilla.redhat.com/show_bug.cgi?id=1741283) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1759291 app/assets/javascripts/miq_application.js | 6 +- app/assets/javascripts/miq_global.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-)