ManageIQ/manageiq-ui-classic

View on GitHub
app/helpers/application_helper/button/policy_edit_conditions.rb

Summary

Maintainability
A
0 mins
Test Coverage
class ApplicationHelper::Button::PolicyEditConditions < ApplicationHelper::Button::PolicyEdit

  def role_allows_feature?
    return true if super
    role_allows?(:feature => "miq_policy_edit_conditions")
  end
end