Allow parameters and smart variable api to unhide values without changing the hidden_value flag
|Triaged:||Fixed in Releases:|
|Bugzilla link:||Found in Releases:|
|Pull request:||https://github.com/theforeman/foreman/pull/4215, https://github.com/theforeman/foreman/pull/4105, https://github.com/theforeman/foreman/pull/4207|
In the UI it's possible to unhide a hidden value just to see it's value without editing the parameter.
The api currently doesn't have an option to show the value so hiding values in the api means they have to be edited to see them.
Adding an option to unhide the values just for display means they can be hidden unless some parameter is passed.
This will allow the api and hammer to act closer to the way the UI works.