Details
-
Bug
-
Resolution: Fixed
-
High
-
1.8.0, 1.7.2, 1.8.1, 1.9.0-rc
-
Operating System: Debian 8
PHP Version: 5.6.14-0+deb8u1
Database and version: Mysql 5.5.46-0+deb8u1
Browser (and version): Firefox 51
Env: Prod
Description
Steps to Reproduce
-Create one folder "Folder1"
-Create another folder "AuthorizedFolder" - (in my case, the locationId of this folder = 60)
-Create one role with the following policies:
Module | Function | Limitation |
---|---|---|
user | login | No limitations |
content | read | No limitations |
content | versionread | No limitations |
content | create | Node( 60 ) |
content | publish | Node( 60 ) |
-Create one user and assign it to the previously created role
-Logout and login using the new user credentials
-Now try to copy "Folder1" into "AuthorizedFolder"
I have a 406 error. The error I have in dev tools is
<ErrorMessage media-type="application/vnd.ez.api.ErrorMessage+xml"><errorCode>406</errorCode><errorMessage>Not Acceptable</errorMessage><errorDescription>Argument '$targets' is invalid: Must contain objects of type: Location</errorDescription></ErrorMessage>
note1: Using the created user, I can create objects in "AuthorizedFolder" without any problem
note2: If I use "move" instead of "copy", the problem does not occur
Attachments
Issue Links
- testing discovered
-
EZP-27744 401 status when viewing objects with a user that has authorization to read all content
- Confirmed