Required IAM Policies
To use OCI, a publisher must be granted security access in a policy by an administrator.
This access is required whether the publisher uses the Console or the REST API with an SDK, CLI, or other tool. If a publisher receives a message that they don't have permission or aren't authorized, they must verify with their administrator the type of access they have and the compartment in which they can work.
For information about policies, see Getting Started with Policies and Common Policies.
Policies for Private Offer Partner-Publisher
Review the policies that enable publishers to create and manage private offers.
Private offers exist at the tenancy level, so private offer policies must be scoped to the tenancy.
-
The following policy gives the specified example group the ability to list, view, create, update, delete, send, and withdraw private offers. To narrow down the specific actions for the example group, add or remove actions from the list.
Allow group PrivateOfferPublisher to {MARKETPLACE_PUBLISHER_INSPECT,MARKETPLACE_PUBLISHER_METADATA_INSPECT,MARKETPLACE_OFFER_SELLER_INSPECT, MARKETPLACE_OFFER_READ,MARKETPLACE_OFFER_DETAILS_READ, MARKETPLACE_OFFER_CREATE,MARKETPLACE_OFFER_UPDATE, MARKETPLACE_OFFER_DELETE,MARKETPLACE_OFFER_SEND, MARKETPLACE_OFFER_WITHDRAW} in tenancy -
The same level of permission can also be achieved by using the manage verb with the marketplace-offers noun and additionally adding the inspect verb for the marketplace-publisher-resource.
Allow group PrivateOfferPublisher to manage marketplace-offers in tenancyAllow group PrivateOfferPublisher to inspect marketplace-publisher-metadata in tenancy
Policies for Private Offer Customer-Buyer
The following policies allow the customers to view and accept private offers in Marketplace.
Private offers exist at the tenancy level, so private offer policies must be scoped to the tenancy.
-
The following policy gives the specified example group PrivateOfferBuyer the ability to list, view, and accept private offers. To narrow the specific actions for the example group, add or remove actions from the list.
Allow group PrivateOfferBuyer to {MARKETPLACE_OFFER_BUYER_INSPECT, MARKETPLACE_OFFER_READ, MARKETPLACE_OFFER_ACCEPT} in tenancy -
The same level of permission can also be achieved by using the manage verb along with the marketplace-offers noun.
Allow group PrivateOfferBuyer to manage marketplace-offers in tenancy