about summary refs log tree commit diff
path: root/app/policies/follow_recommendation_policy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/policies/follow_recommendation_policy.rb')
-rw-r--r--app/policies/follow_recommendation_policy.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/policies/follow_recommendation_policy.rb b/app/policies/follow_recommendation_policy.rb
new file mode 100644
index 000000000..68cd0e547
--- /dev/null
+++ b/app/policies/follow_recommendation_policy.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+class FollowRecommendationPolicy < ApplicationPolicy
+  def show?
+    staff?
+  end
+
+  def suppress?
+    staff?
+  end
+
+  def unsuppress?
+    staff?
+  end
+end