- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Restore view permissions to folder in the CMS
I was doing some testing in the CMS and I've accidentally removed all View permissions on a folder. What's the easiest way to restore view access?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One way to do this would be to use the Access API Swagger interface to reset the permissions by setting them back to "Inherit from parent".
- Ensure you are logged into the CMS before accessing the Swagger UI
- Go to the Access section and /accessapi/Access/Save method
- Copy the following JSON into the request field:
{ "AssetsIds": [NNNNNNN], "InheritsFromParent": true }โ
- Edit the JSON block and replace the placeholder NNNNNN with the appropriate asset id
- Click on "Try it out!". This will make the Access API request.
- Verify that you get back a "resultCode": "conWS_Success" in the response.
โ ๏ธ This method will reset all the permissions to be those from the folder's parent, removing any customisation you have made.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Marcus,
I've just tried the Swagger API, but I'm getting this error in response.
{ "resultCode": "conWS_ActionNotAllowed", "errorMessage": "", "internalCode": 0 }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please raise a ticket with the Crownpeak Support team with the CMS instance, the user account you were trying this with, and the affected folder. They will be able to fix the view permissions (if that is what you want in the short-term) and/or advise on whether the user has the required permissions to do this.

