about summary refs log tree commit diff
path: root/app/policies/domain_allow_policy.rb
blob: 5030453bbcc2cb86ce07b079f9ec1a83353e9169 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class DomainAllowPolicy < ApplicationPolicy
  def create?
    admin?
  end

  def destroy?
    admin?
  end
end