Change in ovirt-engine[master]: core: Set Guid.EMPTY to Permissions.id by default

oourfali at redhat.com oourfali at redhat.com
Wed Mar 11 11:04:45 UTC 2015


Oved Ourfali has submitted this change and it was merged.

Change subject: core: Set Guid.EMPTY to Permissions.id by default
......................................................................


core: Set Guid.EMPTY to Permissions.id by default

Sets Guid.EMPTY to Permissions.id by default when creating new instance
because:

1. Guid.newGuid() cannot be used in frontend code, because it call
   UUID.randomUUID() which is not supported in GWT

2. In AddPermission command there's always assigned Guid.newGuid() into
   Permissions.id for created permissions.

Change-Id: I35aad0115394fde0bf30a27b3eb47c46496bd821
Bug-Url: https://bugzilla.redhat.com/1195119
Signed-off-by: Martin Perina <mperina at redhat.com>
---
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/Permissions.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Martin Peřina: Verified
  Oved Ourfali: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/38567
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I35aad0115394fde0bf30a27b3eb47c46496bd821
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list