プロジェクト

全般

プロフィール

Vote #74794

完了

REST API: Cannot retrieve memberships of closed projects

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
REST API_32
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
32
version_id:
75
issue_org_id:
15848
author_id:
3866
assigned_to_id:
1
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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

Admin Redmine さんが約4年前に更新

  • カテゴリREST API_32 にセット
  • 対象バージョン2.5.0_75 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0