Project

General

Profile

Actions

Bug #9594

closed

User groups API does not contain "admin" field on GET requests.

Added by Shimon Shtein about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Steps to reproduce:
Issue GET request to this address: https://$host/api/v2/usergroups/<usergroup_name>

Expected result: All properties of the group, including "admin" flag.
Actual result: "admin" flag is missing from the JSON

Side note:
PUT request will accept the "admin" field, will respect it, and will show its new state in the response.

Actions #1

Updated by Dominic Cleal about 9 years ago

  • Category set to API
Actions #2

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2396 added
  • Pull request deleted ()
Actions #3

Updated by Shimon Shtein almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Dominic Cleal almost 9 years ago

  • Assignee set to Shimon Shtein
  • translation missing: en.field_release set to 56
Actions

Also available in: Atom PDF