Change in ovirt-engine[master]: restapi: Inherited perms are not seen via RESTAPI (#871365)

mpastern at redhat.com mpastern at redhat.com
Tue Jan 8 16:04:32 UTC 2013


Michael Pasternak has submitted this change and it was merged.

Change subject: restapi: Inherited perms are not seen via RESTAPI (#871365)
......................................................................


restapi: Inherited perms are not seen via RESTAPI (#871365)

The inherited permissions from the datacenter are not returned
by the api. /api/clusters/xxx/permissions, /api/disks/xxx/permissions
does not return the inherited permissions from the datacenter.

Change-Id: Ic1a05d64ed61ae2bcf813b926bb548842bada237
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=871365
Signed-off-by: Ravi Nori <rnori at redhat.com>
---
M backend/manager/modules/restapi/interface/common/jaxrs/src/main/java/org/ovirt/engine/api/common/util/LinkHelper.java
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/DiskResource.java
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendAssignedPermissionsResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendDiskResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendDisksResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmDiskResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmDisksResource.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/AbstractBackendBaseTest.java
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/PermissionMapper.java
10 files changed, 84 insertions(+), 10 deletions(-)

Approvals:
  Michael Pasternak: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic1a05d64ed61ae2bcf813b926bb548842bada237
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>



More information about the Engine-commits mailing list