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
- In , go to Administration > Security.
- Go to Resource Permissions.
- For Select Resource Type, select Virtual Resources.
- Go to the WCM REST SERVICE tab and select User.
- Grant Anonymous Portal User access to allow access the content from outside .