Revision fe0003ee
Added by Martin Milata over 9 years ago
app/controllers/api/v2/abrt_reports_controller.rb | ||
---|---|---|
include Foreman::Controller::SmartProxyAuth
|
||
include AbrtReportsHelper
|
||
|
||
add_puppetmaster_filters :create
|
||
add_smart_proxy_filters :create, :features => 'Abrt'
|
||
|
||
def create
|
||
begin
|
db/seeds.d/75-abrt-seeds.rb | ||
---|---|---|
# Create feature for Smart Proxy
|
||
Feature.find_or_create_by_name('Abrt')
|
Also available in: Unified diff
Fixes #8646 - port to new smart-proxy auth
Receive reports only from the proxies that have the Abrt feature, as
introduced in #8484 (foreman commit d0290c6).