Blame view

common/modules/comment/rbac/ArtboxCommentUpdateOwnRule.php 292 Bytes
a8370482   Alexander Karnovsky   init project
1
2
3
4
5
6
7
8
9
10
11
12
13
  <?php
  
      namespace common\modules\comment\rbac;
  
      use yii\rbac\Rule;
  
      class ArtboxCommentUpdateOwnRule extends Rule
      {
  
          public $name = 'canCommentUpdateOwnArtbox';
  
          public function execute($user, $item, $params)
          {
377b29c7   Yarik   Yarik comment
14
              return false;
a8370482   Alexander Karnovsky   init project
15
16
17
          }
  
      }