diff --git a/app/models/spree/ability_decorator.rb b/app/models/spree/ability_decorator.rb index 385b9be032..54eb462e74 100644 --- a/app/models/spree/ability_decorator.rb +++ b/app/models/spree/ability_decorator.rb @@ -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