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

tnisan at redhat.com tnisan at redhat.com
Thu Nov 6 08:58:55 UTC 2014


Tal Nisan 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_05_1150_add_user_id_to_async_tasks.sql
7 files changed, 73 insertions(+), 4 deletions(-)

Approvals:
  Ravi Nori: Verified
  Oved Ourfali: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib5b9f3dfb38d6d56f186aa87f3ff75007a0d3997
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan 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