Project

General

Profile

Actions

Defect #38165

closed

Users API ignores name and group_id parameter

Defect #38165: Users API ignores name and group_id parameter

Added by Go MAEDA almost 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
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 1 (0 open — 1 closed)

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

Updated by Go MAEDA almost 4 years ago Actions #1

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.

Updated by Go MAEDA almost 4 years ago Actions #2

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

It ignores the name parameter too.

Updated by Go MAEDA almost 3 years ago Actions #3

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

Fixed in r22343.

Updated by Go MAEDA almost 3 years ago Actions #4

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

Also available in: PDF Atom