プロジェクト

全般

プロフィール

Vote #73864

完了

REST API should return user.status

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

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

0%

予定工数:
category_id:
32
version_id:
70
issue_org_id:
13948
author_id:
77707
assigned_to_id:
1188
comments:
2
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Currently, the REST API /users [1] does not return the status of the requested user.

As I needed this information, I made a tiny modification to @show.api.rsb@.

Find attached a patch which returns the user.status to the caller, iff the caller is either an admin user or the user who is being returned.

[1] http://www.redmine.org/projects/redmine/wiki/Rest_Users


journals

As discussed on IRC, nice addition. Added in r11790, it will be in version:2.4.0.

I didn't add the status for @User.current@ : if he can make the request, his status is probably "active" ;)

Thanks
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

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

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

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

いいね!0
いいね!0