Project

General

Profile

Bug #9594

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

Added by Shimon Shtein over 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
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.

Associated revisions

Revision 5aa4be78 (diff)
Added by Shimon Shtein about 7 years ago

Fixes #9594 - adds admin field to the hostgroup rabl

Revision 33c64725 (diff)
Added by Shimon Shtein about 7 years ago

Fixes #9594 - adds admin field to the hostgroup rabl

(cherry picked from commit 5aa4be78af26afbd087c7b752325e15bd4f0e8b2)

History

#1 Updated by Dominic Cleal over 7 years ago

  • Category set to API

#2 Updated by The Foreman Bot about 7 years ago

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

#3 Updated by Shimon Shtein about 7 years ago

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

#4 Updated by Dominic Cleal about 7 years ago

  • Assignee set to Shimon Shtein
  • Legacy Backlogs Release (now unused) set to 56

Also available in: Atom PDF