Defect #19794

non Admins cannot list users through API

Added by Suvrat Bhat over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:-
Resolution:Duplicate Affected version:2.6.2

Description

I am creating the web plugin to post new issues from browser. When I use a non admins api key to set assignee while creating new issue via the API I am not able to fetch the user list.

Please fix this , since this is one major defect

my ENV:

Environment:
Redmine version 2.6.2.stable
Ruby version 1.9.3-p551 (2014-11-13) [x86_64-linux]
Rails version 3.2.21
Environment production
Database adapter Mysql2

API Response.PNG - API Response (11.7 KB) Suvrat Bhat, 2015-05-08 14:04


Related issues

Duplicates Redmine - Defect #7773: Only Redmine administrators can get users from REST API New 2011-03-04

History

#1 Updated by Suvrat Bhat over 4 years ago

Also I am unable to list the custom fields. Attaching the response from API on the browser console

#2 Updated by Jean-Philippe Lang over 4 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

#3 Updated by Jean-Philippe Lang over 4 years ago

  • Duplicates Defect #7773: Only Redmine administrators can get users from REST API added

#4 Updated by Jean-Philippe Lang over 4 years ago

BTW, non admin users can get the project members list via the REST API: Rest_Memberships. It's a better option for choosing the assignee, as it returns users who belong to the project.

Also available in: Atom PDF