You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.
http get http://localhost:8888/v0/psilos/1f98ea4f-9ea0-4ee7-911f-8a4d20a80d22 Origin:http://localhost:3000 --auth='boff:dd'
HTTP/1.1 404 Not Found
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Content-Length, Expires, Alert, Retry-After, Last-Modified, ETag, Pragma, Cache-Control, Backoff
Content-Length: 110
Content-Type: application/json; charset=UTF-8
Date: Wed, 04 Nov 2015 10:49:03 GMT
Server: waitress
{
"code": 404,
"errno": 111,
"error": "Not Found",
"message": "The resource your are looking for could not be found."
}
The 404 here is a hint. If it was a matter of permissions, it should be 403.
The 404 indicates that the user has the permission to read it, but the record is not found.
It is because the ProtectedResource code does not override the base get_parent_id() method. This one is in charge of isolating collections by user in the base class. In protected resource, it should return a constant value to make sure the collection content is not isolated by user.
The text was updated successfully, but these errors were encountered:
Source: #543 (comment)
Create a record that everyone can read:
BUG: It is not available to others:
The 404 here is a hint. If it was a matter of permissions, it should be 403.
The 404 indicates that the user has the permission to read it, but the record is not found.
It is because the
ProtectedResource
code does not override the baseget_parent_id()
method. This one is in charge of isolating collections by user in the base class. In protected resource, it should return a constant value to make sure the collection content is not isolated by user.The text was updated successfully, but these errors were encountered: