about summary refs log tree commit diff
path: root/app/policies/delivery_policy.rb
blob: 24d06c1689f7047a3bdf1079e0436117025fa3df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class DeliveryPolicy < ApplicationPolicy
  def clear_delivery_errors?
    admin?
  end

  def restart_delivery?
    admin?
  end

  def stop_delivery?
    admin?
  end
end