Merge pull request #2488 from HugsDaniel/2434-remove-dash-dependency

[Spree Upgrade] Remove dependency to Dash and Jirafe
This commit is contained in:
Maikel
2018-07-27 13:00:15 +10:00
committed by GitHub
2 changed files with 0 additions and 41 deletions

View File

@@ -73,7 +73,6 @@ class AbilityDecorator
def add_group_management_abilities(user)
can [:admin, :index], :overview
can [:admin, :sync], :analytic
can [:admin, :index], EnterpriseGroup
can [:read, :edit, :update], EnterpriseGroup do |group|
user.owned_groups.include? group
@@ -86,7 +85,6 @@ class AbilityDecorator
can [:create, :search], nil
can [:admin, :index], :overview
can [:admin, :sync], :analytic
can [:admin, :index, :read, :create, :edit, :update_positions, :destroy], ProducerProperty