Bug 463543
Summary: | satellite.listEntitlements API - inconsistent behavior and generates error if run by Org Admin | ||
---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Brad Buckingham <bbuckingham> |
Component: | API | Assignee: | Brad Buckingham <bbuckingham> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 0.2 | CC: | jesusr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-01-22 16:30:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 456552 |
Description
Brad Buckingham
2008-09-23 20:58:24 UTC
Updated the satellite.listEntitlements API to properly handle the error scenario. Also updated the API documentation to better reflect the expected behavior of the API. E.g. "Lists all channel and system entitlements for the organization associated with the user executing the request." The data returned by invoking this API should be consistent the Entitlement counts that would be provided to a user if they logged in to the web-ui and selected: Subscription Management -> System Entitlements Subscription Management -> Software Channel Entitlements It should be noted that there are several additional API methods which provide different views of entitlements. E.g. org.listSoftwareEntitlements(session) org.listSoftwareEntitlements(session, entitlement) org.listSoftwareEntitlementsForOrg(session, orgId) org.listSystemEntitlements(session) org.listSystemEntitlements(session, entitlement) org.listSystemEntitlements(session, orgId) verified on spacewalk-java-0.4.14-1.el5 |