Project

General

Profile

Actions

Feature #1132

closed

Make SSL requirement optional for method ":show" in hosts_controller

Added by Marcello de Sousa almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Working on the rundeck integration I noticed it's quite hard to make the hosts_controller :show work through SSL. This is not a Foreman issue but, because the I don't really see critical risks with this, I'm suggesting this as a "feature" :

The possibility to read host information via the API with or without SSL adding an exception to :show in "app/controllers/hosts_controller.rb"

 skip_before_filter :require_ssl, :only => ANONYMOUS_ACTIONS + [:show]

PS: I'm submitting the patch in a moment.

@Ohad: If you see that as a problem, is there a way to bypass SSL only for rundeck ?


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #1057: Allow foreman search to output multiple hosts when outputting to rundeckClosedOhad Levy07/20/2011Actions
Actions

Also available in: Atom PDF