diff options
Diffstat (limited to 'app/policies/report_policy.rb')
-rw-r--r-- | app/policies/report_policy.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/policies/report_policy.rb b/app/policies/report_policy.rb new file mode 100644 index 000000000..95b5c30c8 --- /dev/null +++ b/app/policies/report_policy.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +class ReportPolicy < ApplicationPolicy + def update? + staff? + end + + def index? + staff? + end + + def show? + staff? + end +end |