Module: ForemanTasks::AuthorizerExt
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/foreman_tasks/authorizer_ext.rb
Overview
Monkey path until projects.theforeman.org/issues/8919 is resolved and released
Instance Method Summary collapse
Instance Method Details
#resource_name_with_authorized_resource_name(klass) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/foreman_tasks/authorizer_ext.rb', line 11 def (klass) if klass.respond_to?(:authorized_resource_name) return klass. else (klass) end end |