Yair Zaslavsky has submitted this change and it was merged. Change subject: core: Fix admin login (#803380) ......................................................................
core: Fix admin login (#803380) https://bugzilla.redhat.com/803380 This patch fixes a scenario in which a group was granted super user role on system, but one of its users was not added to the system. The user will fail to login, as it does not exist in DB and its Id cannot be used for MLA information extracting from DB. The solutuion shifts the DB addition after the authentication part, as was prior to the fix of https://bugzilla.redhat.com/784014 ("user already logged in" error when trying to log in) But still maintains seperation from setting the user on the session (So in LoginAdminUserCommand it will be possible to set this after the call to MLA). This was resubmitted following a revert to http://gerrit.ovirt.org/#change,3114 Change-Id: I3a1bcf611e5492a45d822bf5a55b4ebac8629392 Acked-By: --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginAdminUserCommand.java M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/LoginBaseCommand.java 2 files changed, 6 insertions(+), 8 deletions(-) Approvals: Roy Golan: Looks good to me, approved Yair Zaslavsky: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/3122 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3a1bcf611e5492a45d822bf5a55b4ebac8629392 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: Roy Golan <rgo...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches