Yair Zaslavsky has uploaded a new change for review.

Change subject: core: Fix admin login (#803380)
......................................................................

core: Fix admin login (#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 solution is to add the user to db prior to MLA calculation
and in case the user still cannot be authorized - to remove it.
This will be done of course only if the user is not already added
to db.

Change-Id: I133b9cb148dfad2fa678864046a5ee34c37f3895
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
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UserCommandBase.java
3 files changed, 56 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/14/3114/1
--
To view, visit http://gerrit.ovirt.org/3114
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I133b9cb148dfad2fa678864046a5ee34c37f3895
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to