Class: SolidusFriendlyPromotions::PermissionSets::FriendlyPromotionManagement

Inherits:
Spree::PermissionSets::Base
  • Object
show all
Defined in:
app/models/solidus_friendly_promotions/permission_sets/friendly_promotion_management.rb

Instance Method Summary collapse

Instance Method Details

#activate!Object



6
7
8
9
10
11
12
# File 'app/models/solidus_friendly_promotions/permission_sets/friendly_promotion_management.rb', line 6

def activate!
  can :manage, SolidusFriendlyPromotions::Promotion
  can :manage, SolidusFriendlyPromotions::PromotionRule
  can :manage, SolidusFriendlyPromotions::Benefit
  can :manage, SolidusFriendlyPromotions::PromotionCategory
  can :manage, SolidusFriendlyPromotions::PromotionCode
end