Skip to content

Commit

Permalink
updated dependencies (replaced dmstr/yii2-db with dmstr/yii2-active-r…
Browse files Browse the repository at this point in the history
…ecord-permissions)
  • Loading branch information
schmunk42 committed May 11, 2020
1 parent b6e3797 commit b7d8a8c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Now you should be able to see the page in your `Nav` widget in the frontend of y

#### Traits

We use the `\dmstr\db\traits\ActiveRecordAccessTrait` to have a check access behavior on active record level
We use the `\dmstr\activeRecordPermissions\ActiveRecordAccessTrait` to have a check access behavior on active record level

- Owner Access
- Read Access
Expand Down
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": "^0.3.5",
"dmstr/yii2-web": "^0.4.0",
"dmstr/yii2-db": "^1.0.0",
"dmstr/yii2-active-record-permissions.git": "^1.0.0",
"dmstr/yii2-backend-module": "^1.0.0-beta12",
"bedezign/yii2-audit": "^1.1",
"mikehaertl/php-shellcommand": "^1.2.4",
Expand Down
2 changes: 1 addition & 1 deletion models/BaseTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace dmstr\modules\pages\models;

use dmstr\db\traits\ActiveRecordAccessTrait;
use dmstr\activeRecordPermissions\ActiveRecordAccessTrait;
use dmstr\modules\pages\Module as PagesModule;
use yii\behaviors\TimestampBehavior;
use yii\db\ActiveRecord;
Expand Down
2 changes: 1 addition & 1 deletion tests/codeception/unit/ModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function testRemoveRootNodeWithChildren()

/**
* Test find records only for current access domain, feature from
* \dmstr\db\traits\ActiveRecordAccessTrait
* \dmstr\activeRecordPermissions\ActiveRecordAccessTrait
*/
public function testAccessDomainCheckOnFind()
{
Expand Down
2 changes: 1 addition & 1 deletion views/treeview/_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@


<div class="col-xs-12">
<?= \dmstr\widgets\AccessInput::widget(
<?= \dmstr\activeRecordPermissions\AccessInput::widget(
[
'form' => $form,
'model' => $node,
Expand Down

0 comments on commit b7d8a8c

Please sign in to comment.