A system administrator can share a catalog to make it visible to the administrators of specific organizations in a cloud.
The owner of a catalog can share it to make it available to all organizations in the cloud. When more selective sharing is required, a system administrator can share a catalog with specific organizations if that catalog is not already shared to all organizations.
Prerequisites
This operation is restricted to system administrators.
Procedure
Results
The catalog is shared with administrators of the specified organizations.
Example: Share a Catalog With Specific Organizations in a Cloud
This request updates the access controls of a catalog to share it to a single organization, giving read-only access to all users in that organization.
Request:
POST https://vcloud.example.com/api/catalog/32/action/controlAccess/"/> Content-Type: application/vnd.vmware.vcloud.controlAccess+xml ... <?xml version="1.0" encoding="UTF-8"?> <ControlAccessParams xmlns="http://www.vmware.com/vcloud/v1.5"> <IsSharedToEveryone>false</IsSharedToEveryone> <AccessSettings> <AccessSetting> <Subject type="application/vnd.vmware.admin.organization+xml" href="https://vcloud.example.com/api/admin/org/355"/> <AccessLevel>ReadOnly</AccessLevel> </AccessSetting> </AccessSettings> </ControlAccessParams>
Response:
200 OK Content-Type: application/vnd.vmware.vcloud.controlAccess+xml ... <ControlAccessParams xmlns="http://www.vmware.com/vcloud/v1.5"> <IsSharedToEveryone>false</IsSharedToEveryone> <AccessSettings> <AccessSetting> <Subject type="application/vnd.vmware.admin.organization+xml" href="https://vcloud.example.com/api/admin/org/355"/> <AccessLevel>ReadOnly</AccessLevel> </AccessSetting> </AccessSettings> </ControlAccessParams>