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
  • ArtboxCommentDeleteOwnRule.php
  • test
    b82db04a
    Yarik authored
    2016-02-28 17:58:05 +0200  
    Browse Code ยป
ArtboxCommentDeleteOwnRule.php 291 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 ArtboxCommentDeleteOwnRule extends Rule
    {

        public $name = 'canCommentDeleteOwnArtbox';

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

    }