From 55321f23c8f6fd6d15896ade68bc9647f705d669 Mon Sep 17 00:00:00 2001 From: Jeffrey Schmitz <34717885+jeffreyschmitz87@users.noreply.github.com> Date: Tue, 17 Sep 2019 09:09:32 +0200 Subject: [PATCH 1/2] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8780089..ed24c56 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "barrelstrength/sprout-base-reports", "description": "Common reports libraries for Sprout Plugins for Craft CMS", - "version": "1.3.8", + "version": "1.3.10", "type": "yii-module", "license": "proprietary", "authors": [ From 5bea516b5a191eea0e47319408f733963f9206a1 Mon Sep 17 00:00:00 2001 From: Jeffrey Schmitz <34717885+jeffreyschmitz87@users.noreply.github.com> Date: Tue, 17 Sep 2019 09:39:37 +0200 Subject: [PATCH 2/2] Update ReportsController.php --- src/controllers/ReportsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/ReportsController.php b/src/controllers/ReportsController.php index 6a4aca2..33dfc13 100644 --- a/src/controllers/ReportsController.php +++ b/src/controllers/ReportsController.php @@ -415,7 +415,7 @@ public function actionDeleteGroup(): Response */ public function actionExportReport() { - $this->requirePermission($this->permissions['sproutReports-viewReports']); + //$this->requirePermission($this->permissions['sproutReports-viewReports']); $reportId = Craft::$app->getRequest()->getParam('reportId');