예제 #1
0
파일: Edit.php 프로젝트: vigm/advancedMD
 public function __construct()
 {
     parent::__construct();
     if (!ee()->cp->allowed_group_any('can_edit_other_entries', 'can_edit_self_entries')) {
         show_error(lang('unauthorized_access'));
     }
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     if (!ee()->cp->allowed_group_any('can_moderate_comments', 'can_edit_own_comments', 'can_delete_own_comments', 'can_edit_all_comments', 'can_delete_all_comments')) {
         show_error(lang('unauthorized_access'));
     }
 }
예제 #3
0
파일: Publish.php 프로젝트: vigm/advancedMD
 public function __construct()
 {
     parent::__construct();
     if (!ee()->cp->allowed_group('can_create_entries')) {
         show_error(lang('unauthorized_access'));
     }
 }