Project

General

Profile

Actions

Defect #38165

closed

Users API ignores name and group_id parameter

Added by Go MAEDA almost 2 years ago. Updated 11 months ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Users API with a group_id parameter is supposed to return users who are members of the given group (see Rest_Users).

It works as expected in 5.0-stable but does not work in the current trunk (I tested in r22012). Even if you pass the group_id parameter, it returns all users. The group_id parameter is ignored.

5.0-stable: Show

trunk (r22012): Show


Related issues

Related to Redmine - Patch #39181: /users backwards API compatibility ClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA almost 2 years ago

This is due to r21823. Because of the implementation of the query system for users list, UsersController#index no longer handles the group_id parameter.

Actions #2

Updated by Go MAEDA almost 2 years ago

  • Subject changed from Users API ignores group_id parameter to Users API ignores name and group_id parameter

It ignores the name parameter too.

Actions #3

Updated by Go MAEDA 11 months ago

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

Fixed in r22343.

Actions #4

Updated by Go MAEDA 11 months ago

  • Related to Patch #39181: /users backwards API compatibility added
Actions

Also available in: Atom PDF