theforeman/foreman — pull request #443 by iNecas (2013-03-01 10:32:02+00:00)
Title: authorization over environment model

POST "/foreman/api/environments" {"environment"=>{"name"=>"production"} }

caused

undefined method `permission_failed?' for #
(NoMethodError)