Project

General

Profile

Bug #15585

Parameters api call from host info command prevents showing any host details

Added by Ori Rabin almost 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

This code should be removed: https://github.com/theforeman/hammer-cli-foreman/blob/master/lib/hammer_cli_foreman/host.rb#L181
now that http://projects.theforeman.org/issues/5820 has been closed.

Now that parameters have their own permissions this second call when returning unauthorized will prevent showing any details on the host instead of just removing the parameters.


Related issues

Has duplicate Hammer CLI - Bug #11205: Request to /api/hosts/:id/parameters on host info is unnecessaryDuplicate2015-07-23

Associated revisions

Revision 163bb487 (diff)
Added by Ori Rabin almost 5 years ago

Fixes #15585 - Remove parameters api call from host info command

History

#1 Updated by The Foreman Bot almost 5 years ago

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

#2 Updated by Ori Rabin almost 5 years ago

  • Bugzilla link set to 1353465

#3 Updated by Ori Rabin almost 5 years ago

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

#4 Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/433 added

#5 Updated by Ivan Necas almost 5 years ago

  • Target version set to 1.7.0

#6 Updated by Ori Rabin over 4 years ago

  • Has duplicate Bug #11205: Request to /api/hosts/:id/parameters on host info is unnecessary added

Also available in: Atom PDF