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

class InstancePolicy < ApplicationPolicy
  def index?
    !defanged? && admin?
  end

  def show?
    !defanged? && admin?
  end
end