Chatwoot/app/policies/csat_survey_response_policy.rb

14 lines
218 B
Ruby
Raw Permalink Normal View History

class CsatSurveyResponsePolicy < ApplicationPolicy
def index?
@account_user.administrator?
end
2021-07-14 04:50:06 +00:00
def metrics?
@account_user.administrator?
end
def download?
@account_user.administrator?
end
end