1 <?php
2
3 /*
4 * This file is part of the Icybee package.
5 *
6 * (c) Olivier Laviale <olivier.laviale@gmail.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Icybee\Modules\Dashboard;
13
14 class BlockController extends \Icybee\BlockController
15 {
16 protected function control_permission($permission)
17 {
18 global $core;
19
20 if ($core->user->is_guest)
21 {
22 return false;
23 }
24
25 return true;
26 }
27 }
28