Content
View differences
Updated by Jan Sandbrink over 12 years ago
Using an access-key it is not possible to access all restricted controllers.
**Reproduction**
Call https://preview.openproject.org/api/v2/projects/23/planning\_element\_types.xml?key=youraccesskey
- Important for reproduction:
- type-controller for a single project
- project-access **must not** be public (but the access-key must grant access)
- you are not logged in by your browser anyway
**expected behaviour**
The list of types is returned - HTTP 200 (OK)
**actual behavior**
HTTP 401 (not authorized)
**Reproduction**
Call https://preview.openproject.org/api/v2/projects/23/planning\_element\_types.xml?key=youraccesskey
- Important for reproduction:
- type-controller for a single project
- project-access **must not** be public (but the access-key must grant access)
- you are not logged in by your browser anyway
**expected behaviour**
The list of types is returned - HTTP 200 (OK)
**actual behavior**
HTTP 401 (not authorized)