mirror of
https://github.com/getgrav/grav.git
synced 2025-12-05 15:29:57 +01:00
Fixed broken Flex Page authorization for groups
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -170,7 +170,7 @@ trait PageAuthorsTrait
|
||||
continue;
|
||||
}
|
||||
|
||||
$auth = $access->authorize($action, $scope);
|
||||
$auth = $access->authorize($action);
|
||||
if (is_bool($auth)) {
|
||||
if ($auth === false) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user