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

class ReportPolicy < ApplicationPolicy
  def update?
    !defanged? && staff?
  end

  def index?
    !defanged? && staff?
  end

  def show?
    !defanged? && staff?
  end
end