diff --git a/CHANGELOG.md b/CHANGELOG.md index 3aaddc70a2..a3dab3e223 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ * Fixed retina images not working in Flex [flex-objects#64](https://github.com/trilbymedia/grav-plugin-flex-objects/issues/64) * Fixed plugin initialization in CLI * Fixed broken logic in `Page::topParent()` when dealing with first-level pages + * Fixed broken `Flex Page` authorization for groups # v1.7.0-rc.12 ## 06/08/2020 diff --git a/UPGRADE-1.7.md b/UPGRADE-1.7.md index 8e6f32a27f..3b3e8a7757 100644 --- a/UPGRADE-1.7.md +++ b/UPGRADE-1.7.md @@ -217,6 +217,7 @@ * **BC BREAK** Moved all Flex type classes under `Grav\Common\Flex` * **BC BREAK** `FlexStorageInterface::getStoragePath()` and `getMediaPath()` can now return null * **BC BREAK** Flex objects no longer return temporary key if they do not have one; empty key is returned instead +* You can add `edit_list.html.twig` file to a form field in order to customize look in the listing view ### Templating diff --git a/system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.php b/system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.php index 852b649913..0a89ebb2b6 100644 --- a/system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.php +++ b/system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.php @@ -170,7 +170,7 @@ protected function isAuthorizedByGroup(UserInterface $user, string $action, stri continue; } - $auth = $access->authorize($action, $scope); + $auth = $access->authorize($action); if (is_bool($auth)) { if ($auth === false) { return false;