Change in ovirt-engine[master]: engine : Add User Id to async tasks table

yzaslavs at redhat.com yzaslavs at redhat.com
Fri Oct 31 11:48:08 UTC 2014


Yair Zaslavsky has submitted this change and it was merged.

Change subject: engine : Add User Id to async tasks table
......................................................................


engine : Add User Id to async tasks table

Add user id to async tasks table, the user id
will be used to determine if the user has permissions
to see the tasks for which the user requested statuses

When tasks are retrieved from vdsm after server restart
the user id information is not available and will be set
to Guid.Empty when tasks are created

Change-Id: Ib5b9f3dfb38d6d56f186aa87f3ff75007a0d3997
Bug-Url: https://bugzilla.redhat.com/1153043
Signed-off-by: Ravi Nori <rnori at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/AsyncTaskFactory.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CoCoAsyncTaskHelper.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/AsyncTask.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/AsyncTaskDAO.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/AsyncTaskDAODbFacadeImpl.java
M packaging/dbscripts/async_tasks_sp.sql
A packaging/dbscripts/upgrade/03_06_0500_add_user_id_to_async_tasks.sql
7 files changed, 73 insertions(+), 4 deletions(-)

Approvals:
  Ravi Nori: Verified
  Yair Zaslavsky: Looks good to me, approved
  Oved Ourfali: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/34616
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib5b9f3dfb38d6d56f186aa87f3ff75007a0d3997
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list