Project

General

Profile

Bug #16799

Taxonomies are not returned for Canned Roles

Added by Marek Hulán almost 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Other commands
Difficulty:
Triaged:
Bugzilla link:
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

Associated revisions

Revision d4179bf0 (diff)
Added by Marek Hulán almost 4 years ago

Fixes #16799 - add taxonomies to role info

History

#1 Updated by Marek Hulán almost 4 years ago

  • Subject changed from Taxonomies are not returned for Canned Roles to Taxonomies are not returned for Canned Roles
  • Status changed from New to Assigned
  • Assignee set to Marek Hulán
  • Target version set to 1.5.0

#2 Updated by The Foreman Bot almost 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/262 added

#3 Updated by Marek Hulán almost 4 years ago

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

#4 Updated by Tomáš Strachota over 3 years ago

  • Legacy Backlogs Release (now unused) set to 236

Also available in: Atom PDF