From 2be6e8e16d0d42972b284519b27414ffa5880336 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 30 May 2016 18:42:47 +0300 Subject: [PATCH] image size --- common/config/main.php | 82 +++++++++++++++++++++++++++++++++++++++++----------------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/common/config/main.php b/common/config/main.php index 5b2c4c0..0676ff3 100755 --- a/common/config/main.php +++ b/common/config/main.php @@ -351,46 +351,46 @@ return [ ]*/ ] ], - 'comment' => [ - 'class' => 'common\modules\comment\Module', - 'useRbac' => true, - 'rbac' => [ - 'rules' => [ - \common\modules\comment\rbac\ArtboxCommentCreateRule::className(), - \common\modules\comment\rbac\ArtboxCommentDeleteRule::className(), - \common\modules\comment\rbac\ArtboxCommentUpdateRule::className(), - \common\modules\comment\rbac\ArtboxCommentUpdateOwnRule::className(), - \common\modules\comment\rbac\ArtboxCommentDeleteOwnRule::className(), - ], - 'permissions' => [ - [ - 'name' => common\modules\comment\Permissions::CREATE, - 'description' => 'Can create comments', - 'ruleName' =>(new \common\modules\comment\rbac\ArtboxCommentCreateRule())->name, - ], - [ - 'name' => common\modules\comment\Permissions::UPDATE, - 'description' => 'Can update comments', - 'ruleName' =>(new \common\modules\comment\rbac\ArtboxCommentUpdateRule())->name, - ], - [ - 'name' => common\modules\comment\Permissions::DELETE, - 'description' => 'Can delete comments', - 'ruleName' =>(new \common\modules\comment\rbac\ArtboxCommentDeleteRule())->name, - ], - [ - 'name' => common\modules\comment\Permissions::UPDATE_OWN, - 'description' => 'Can update own comments', - 'ruleName' =>(new \common\modules\comment\rbac\ArtboxCommentUpdateOwnRule())->name, - ], - [ - 'name' => common\modules\comment\Permissions::DELETE_OWN, - 'description' => 'Can delete own comments', - 'ruleName' =>(new \common\modules\comment\rbac\ArtboxCommentDeleteOwnRule())->name, - ], - ], - ], - - ], +// 'comment' => [ +// 'class' => 'common\modules\comment\Module', +// 'useRbac' => true, +// 'rbac' => [ +// 'rules' => [ +// \common\modules\comment\rbac\ArtboxCommentCreateRule::className(), +// \common\modules\comment\rbac\ArtboxCommentDeleteRule::className(), +// \common\modules\comment\rbac\ArtboxCommentUpdateRule::className(), +// \common\modules\comment\rbac\ArtboxCommentUpdateOwnRule::className(), +// \common\modules\comment\rbac\ArtboxCommentDeleteOwnRule::className(), +// ], +// 'permissions' => [ +// [ +// 'name' => common\modules\comment\Permissions::CREATE, +// 'description' => 'Can create comments', +// 'ruleName' =>(new \common\modules\comment\rbac\ArtboxCommentCreateRule())->name, +// ], +// [ +// 'name' => common\modules\comment\Permissions::UPDATE, +// 'description' => 'Can update comments', +// 'ruleName' =>(new \common\modules\comment\rbac\ArtboxCommentUpdateRule())->name, +// ], +// [ +// 'name' => common\modules\comment\Permissions::DELETE, +// 'description' => 'Can delete comments', +// 'ruleName' =>(new \common\modules\comment\rbac\ArtboxCommentDeleteRule())->name, +// ], +// [ +// 'name' => common\modules\comment\Permissions::UPDATE_OWN, +// 'description' => 'Can update own comments', +// 'ruleName' =>(new \common\modules\comment\rbac\ArtboxCommentUpdateOwnRule())->name, +// ], +// [ +// 'name' => common\modules\comment\Permissions::DELETE_OWN, +// 'description' => 'Can delete own comments', +// 'ruleName' =>(new \common\modules\comment\rbac\ArtboxCommentDeleteOwnRule())->name, +// ], +// ], +// ], +// +// ], ], ]; -- libgit2 0.21.4