Project

General

Profile

Actions

Bug #16799

closed

Taxonomies are not returned for Canned Roles

Added by Marek Hulán about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Other commands
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1381881

Description of problem:
When I create new Canned Role with taxonomies:

hammer -v -u admin -p changeme --output=csv role create --organizations="coC4sT" --locations="lVZNUA2tLR" --name="Cc417k"

Message,Id,Name
User role [Cc417k] created,21,Cc417k

and try to read it back, necessary information is not returned:
hammer --output=json -v -u admin -p changeme role info --id="21"

{
"Id": 21,
"Name": "Cc417k",
"Builtin": "No"
}

Version-Release number of selected component (if applicable):
6.3 - Foreman 1.13

How reproducible:
Always

Actual results:
Taxonomies are not returned for just created Role

Expected results:
I can get expected information for Canned Role

Additional info:
The information is available in API JSON

Actions

Also available in: Atom PDF