HCL Commerce Version 9.1.4.0 or later

Permissions for accessing content from

Before you can use content in and the , you must grant permissions to access the content from outside .

About this task

For all libraries created in , you must explicitly set the required permissions to the library for anonymous access on both Authoring and Live environments so that the content is displayed in the stores for all shoppers. in order for shoppers to retrieve the content. To set the permissions perform the following as Administrator:

  • Go to 'Web Content' -> 'Web Content Libraries' -> <yourLibrary> and select 'Set Permission <yourLibrary>'
  • Select 'Edit Role' on 'User' Resource
  • Select 'Add' -> 'Anonymous Portal User' and click OK.

In addition, if you create new libraries that are multi-language enabled, the api to retrieve translated content must also have permissions set on both Authoring and Live environments for shoppers. To set the permissions, perform the following as Administrator:

  • Go to 'Web Content' -> 'Authoring' -> <yourLibrary> -> Components -> MLConfFileReference and select 'Edit' button from header menu
  • Select 'Access' and in the 'Contributor' row, under 'Administrator Defined', select 'Grant Contributor Access' to the '[anonymous portal user]' and select 'Save and Close'.

Procedure

To grant permissions to access content from outside , complete the following steps:
  1. In , go to Administration > Security.
  2. Go to Resource Permissions.
  3. For Select Resource Type, select Virtual Resources.
  4. Go to the WCM REST SERVICE tab and select User.
  5. Grant Anonymous Portal User access to allow access the content from outside .