Logo white

Administrator / test_3

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • test_3
  • common
  • modules
  • comment
  • rbac
  • ArtboxCommentUpdateOwnRule.php
  • test
    2f324895
    Yarik authored
    2016-04-12 20:07:16 +0300  
    Browse Code ยป
ArtboxCommentUpdateOwnRule.php 292 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?php

    namespace common\modules\comment\rbac;

    use yii\rbac\Rule;

    class ArtboxCommentUpdateOwnRule extends Rule
    {

        public $name = 'canCommentUpdateOwnArtbox';

        public function execute($user, $item, $params)
        {
            return false;
        }

    }