report_policy.rb 166 B

123456789101112131415
  1. # frozen_string_literal: true
  2. class ReportPolicy < ApplicationPolicy
  3. def update?
  4. staff?
  5. end
  6. def index?
  7. staff?
  8. end
  9. def show?
  10. staff?
  11. end
  12. end