FIX: download CSV feature was not working for group reports
This commit is contained in:
parent
aebd8dc6e4
commit
16ea1c55a9
|
@ -1085,6 +1085,7 @@ SQL
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
skip_before_action :check_xhr, only: [:group_reports_run]
|
||||||
def group_reports_run
|
def group_reports_run
|
||||||
return raise Discourse::NotFound unless guardian.user_can_access_query?(group, query)
|
return raise Discourse::NotFound unless guardian.user_can_access_query?(group, query)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue