Tomas Jelinek has submitted this change and it was merged.
Change subject: frontend: Console reconnect warning dialog changes
......................................................................
frontend: Console reconnect warning dialog changes
This patch adjusts conditions for displaying warning dialog (for
noticing portal when another user is connected to a console). This patch
adds a condition that prevents displaying this dialog when current
portal user has no reconnect permissions. Currently, the warning dialog
would be displayed and after clicking "ok", another dialog with error
would be displayed because of the backend validation. This patch causes
only the "backend" warning to be displayed.
Change-Id: I141d61655e70ab7c0ef89fb7cb1f0c142494bdf8
Bug-Url:
https://bugzilla.redhat.com/975729
Signed-off-by: Frantisek Kobzik <fkobzik(a)redhat.com>
---
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/HasAdElementReconnectPermissionParameters.java
M
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ConsoleModel.java
2 files changed, 37 insertions(+), 11 deletions(-)
Approvals:
Tomas Jelinek: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/18686
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I141d61655e70ab7c0ef89fb7cb1f0c142494bdf8
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Frank Kobzik <fkobzik(a)redhat.com>
Gerrit-Reviewer: Frank Kobzik <fkobzik(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server