<?php
/**
 * @package     DOCman
 * @copyright   Copyright (C) 2019 Timble CVBA. (http://www.timble.net)
 * @license     GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link        http://www.joomlatools.com
 */

namespace Foliolabs\Docman\Admin;

use Foliolabs\Component\Base;
use Foliolabs\Library;

class ControllerUsergroup extends Base\ControllerModel
{
    protected function _initialize(Library\ObjectConfig $config)
    {
        $config->append([
            'toolbars' => [
                'menubar',
                'restrictable' => [
                    'redirect_url' => 'admin.php?page=docman-settings'
                ],
                'com:docman.controller.toolbar.usergroup'
            ]
        ]);

        parent::_initialize($config);
    }
}