diff --git a/module/apif-core/src/Controller/ActivityController.php b/module/apif-core/src/Controller/ActivityController.php index e5b46a6..0f31a6e 100644 --- a/module/apif-core/src/Controller/ActivityController.php +++ b/module/apif-core/src/Controller/ActivityController.php @@ -112,9 +112,10 @@ public function get($id) { $permissions = $this->getPermissionsOnDataset($roles, $id); // ###### - // Access is granted to activity log if user/key has both READ and WRITE permission on this dataset + // Access is granted to activity log if user/key has READ permission on this dataset // ###### - if ($permissions['read'] AND $permissions['write']) { + //if ($permissions['read'] AND $permissions['write']) { + if ($permissions['read']) { $activityLogId = $this->_config['activityLog']['dataset']; // ONLY RETRIEVE WRITE ACTIONS, NOT READS. $query = [ diff --git a/module/apif-core/view/apif/core/index/swagger-config-main.json b/module/apif-core/view/apif/core/index/swagger-config-main.json index 7985f5b..7b2246d 100644 --- a/module/apif-core/view/apif/core/index/swagger-config-main.json +++ b/module/apif-core/view/apif/core/index/swagger-config-main.json @@ -11,7 +11,7 @@ "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "0.9.3" + "version": "0.9.4" }, "tags": [ { diff --git a/module/apif-core/view/apif/core/index/swagger-config-main.phtml b/module/apif-core/view/apif/core/index/swagger-config-main.phtml index 291a30a..1cf148b 100644 --- a/module/apif-core/view/apif/core/index/swagger-config-main.phtml +++ b/module/apif-core/view/apif/core/index/swagger-config-main.phtml @@ -11,7 +11,7 @@ "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" }, -"version": "0.9.3" +"version": "0.9.4" }, "tags": [ { diff --git a/module/apif-core/view/apif/core/index/swagger-config-management.json b/module/apif-core/view/apif/core/index/swagger-config-management.json index d5c3b4f..a964bf2 100644 --- a/module/apif-core/view/apif/core/index/swagger-config-management.json +++ b/module/apif-core/view/apif/core/index/swagger-config-management.json @@ -11,7 +11,7 @@ "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "0.9.3" + "version": "0.9.4" }, "tags": [ { diff --git a/module/apif-core/view/apif/core/index/swagger-config-management.phtml b/module/apif-core/view/apif/core/index/swagger-config-management.phtml index e79c654..3431fe3 100644 --- a/module/apif-core/view/apif/core/index/swagger-config-management.phtml +++ b/module/apif-core/view/apif/core/index/swagger-config-management.phtml @@ -11,7 +11,7 @@ "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" }, -"version": "0.9.3" +"version": "0.9.4" }, "tags": [ {