Defect #38165

Users API ignores name and group_id parameter

Added by Go MAEDA 22 days ago. Updated 20 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:-
Resolution: 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:

trunk (r22012):

History

#1 Updated by Go MAEDA 21 days 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.

#2 Updated by Go MAEDA 20 days 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.

Also available in: Atom PDF