Skip to content

Commit

Permalink
Add miq_product_features to miq_group through miq_user_role
Browse files Browse the repository at this point in the history
  • Loading branch information
Jillian Tullo committed Feb 15, 2018
1 parent 7c91f6e commit b756550
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/miq_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class MiqGroup < ApplicationRecord
has_many :miq_report_results, :dependent => :nullify
has_many :miq_widget_contents, :dependent => :destroy
has_many :miq_widget_sets, :as => :owner, :dependent => :destroy
has_many :miq_product_features, :through => :miq_user_role

virtual_column :miq_user_role_name, :type => :string, :uses => :miq_user_role
virtual_column :read_only, :type => :boolean
Expand Down

0 comments on commit b756550

Please sign in to comment.