Vote #74794
完了REST API: Cannot retrieve memberships of closed projects
0%
説明
A customer of ours ("Planio":https://plan.io) uses the REST API to read amongst other things project memberships (@/projects/:id/memberships.xml@), which currently is not possible for closed projects, as @:members => :index@ is not declared as a read-only action. We believe this is a bug.
Furthermore, this is complicated by the project API not returning the state of a project (#15815), which means he actually still needs to poll all project memberships and needs to "guess" that "406 not allowed" errors are closed projects.
journals
Fixed in r12650.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,13107,API: Users that doesn't have the right on managing members can't access to the members list of a project