Project

General

Profile

Actions

Defect #19794

closed

non Admins cannot list users through API

Added by Suvrat Bhat almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

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

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

Related issues

Is duplicate of Redmine - Defect #7773: Only Redmine administrators can get users from REST APINew2011-03-04

Actions
Actions #1

Updated by Suvrat Bhat almost 9 years ago

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

Actions #2

Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate
Actions #3

Updated by Jean-Philippe Lang almost 9 years ago

  • Is duplicate of Defect #7773: Only Redmine administrators can get users from REST API added
Actions #4

Updated by Jean-Philippe Lang almost 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.

Actions

Also available in: Atom PDF