Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
7
research/chatwoot/app/policies/report_policy.rb
Normal file
7
research/chatwoot/app/policies/report_policy.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class ReportPolicy < ApplicationPolicy
|
||||
def view?
|
||||
@account_user.administrator?
|
||||
end
|
||||
end
|
||||
|
||||
ReportPolicy.prepend_mod_with('ReportPolicy')
|
||||
Reference in New Issue
Block a user