Details
-
Bug
-
Resolution: Fixed
-
High
-
5.0, 5.1, 5.2-alpha1
-
Server OS: Debian
PHP: 5.3.3
Database: MySQL 5.1.61
Browser: Firefox 20
Description
With an anonymous user when attempt to get the
Resource: /content/objects/<ID>/currentversion
it will throw an 401 Not Authorized
"errorCode": 401, "errorMessage": "Unauthorized", "errorDescription": "User does not have access to 'versionread' 'content'",
How to reproduce:
Scenario:Get content current version of a published content Given I am logged as anonymous user And I have content of type "folder" And I have value "Test folder" in field "name" And I have content in "Publish" state When I load "Test folder" current version Then I see no errors And I see a content version of type "Published" And I see value "Test folder" in field "name" And I see value "1" in field "version number"
Notice: that to test with anonymous user in REST (basic auth) need to actually create an anonymous user