Defect #19794
closednon Admins cannot list users through API
0%
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
Files
Related issues
Updated by Suvrat Bhat over 9 years ago
- File API Response.PNG API Response.PNG added
Also I am unable to list the custom fields. Attaching the response from API on the browser console
Updated by Jean-Philippe Lang over 9 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
Updated by Jean-Philippe Lang over 9 years ago
- Is duplicate of Defect #7773: Only Redmine administrators can get users from REST API added
Updated by Jean-Philippe Lang over 9 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.