Skip to content

Commit

Permalink
enable recursive role check for pages
Browse files Browse the repository at this point in the history
  • Loading branch information
eluhr committed Jun 29, 2020
1 parent 074582d commit 35e7aca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"rmrevin/yii2-fontawesome": "~2.9",
"dmstr/yii2-json-editor": "^1.0.0",
"dmstr/yii2-web": "^0.4.0",
"dmstr/yii2-active-record-permissions": "^1.0.0",
"dmstr/yii2-active-record-permissions": "^1.1.0",
"dmstr/yii2-backend-module": "^2.0.0",
"bedezign/yii2-audit": "^1.1",
"mikehaertl/php-shellcommand": "^1.2.4",
Expand Down
2 changes: 2 additions & 0 deletions models/Tree.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
class Tree extends BaseTree
{

public static $enableRecursiveRoles = true;

/**
* @inheritdoc
*/
Expand Down

0 comments on commit 35e7aca

Please sign in to comment.