Project

General

Profile

Actions

Bug #15585

closed

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

Added by Ori Rabin over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
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 1 (0 open1 closed)

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

Also available in: Atom PDF