Change in ovirt-engine[ovirt-engine-3.5.1]: core: ovf_store isn't added

tnisan at redhat.com tnisan at redhat.com
Thu Jan 29 12:43:07 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: core: ovf_store isn't added
......................................................................


core: ovf_store isn't added

When disk is added and there is no active user- currently
only for ovf_store disk, disk profile permission check causes
NPE.

Since user is null when command is invoked by the internally,
we can skip the permission check.

Bug-Url: https://bugzilla.redhat.com/1185615
Signed-off-by: Gilad Chaplik <gchaplik at redhat.com>
Change-Id: I0ab3247d0f80e2f5123aace3fac58bee2a8a7b8d
(cherry picked from commit 6015932ec838f79a2229dcf4ff4dfd5d57a1d7e3)
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/profiles/DiskProfileHelper.java
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Sandro Bonazzola: Looks good to me, but someone else must approve
  Gilad Chaplik: Verified
  Roy Golan: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0ab3247d0f80e2f5123aace3fac58bee2a8a7b8d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5.1
Gerrit-Owner: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list