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

class InstancePolicy < ApplicationPolicy
  def index?
    admin?
  end

  def show?
    admin?
  end

  def destroy?
    admin?
  end
end