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(klass) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/foreman_tasks/authorizer_ext.rb', line 7 def resource_name(klass) if klass.respond_to?(:authorized_resource_name) klass. else super klass end end |