summaryrefslogtreecommitdiffstats
path: root/app/policies/report_policy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/policies/report_policy.rb')
-rw-r--r--app/policies/report_policy.rb15
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 00000000000..95b5c30c885
--- /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