Blame view

common/modules/comment/rbac/ArtboxCommentUpdateRule.php 286 Bytes
b82db04a   Yarik   test
1
2
3
4
5
6
7
8
9
10
11
12
13
  <?php
  
      namespace common\modules\comment\rbac;
  
      use yii\rbac\Rule;
  
      class ArtboxCommentUpdateRule extends Rule
      {
  
          public $name = 'canCommentUpdateArtbox';
  
          public function execute($user, $item, $params)
          {
8a551494   Yarik   test
14
              return false;
b82db04a   Yarik   test
15
16
17
          }
  
      }