<commit_before><?php
/**
 * Litus is a project by a group of students from the K.U.Leuven. The goal is to create
 * various applications to support the IT needs of student unions.
 *
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 *
 * @license http://litus.cc/LICENSE
 */

namespace PageBundle\Controller\Admin;

/**
 * InstallController
 *
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */
class InstallController extends \CommonBundle\Component\Controller\ActionController\InstallController
{
    protected function initConfig()
    {
        $this->installConfig(
            array(
                array(
                    'key'         => 'page.file_path',
                    'value'       => 'data/page/files',
                    'description' => 'The path to the page files',
                ),
            )
        );
    }

    protected function initAcl()
    {
        $this->installAcl(
            array(
                'pagebundle' => array(
                    'admin_page' => array(
                        'add', 'delete', 'edit', 'manage', 'upload', 'uploadProgress'
                    ),
                    'admin_page_category' => array(
                        'add', 'delete', 'edit', 'manage'
                    ),
                    'page' => array(
                        'view'
                    ),
                )
            )
        );

        $this->installRoles(
            array(
                'guest' => array(
                    'system' => true,
                    'parents' => array(),
                    'actions' => array(
                        'page' => array(
                            'view'
                        ),
                    )
                ),
            )
        );
    }
}<commit_msg>A very small bug fix<commit_after><?php
/**
 * Litus is a project by a group of students from the K.U.Leuven. The goal is to create
 * various applications to support the IT needs of student unions.
 *
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 *
 * @license http://litus.cc/LICENSE
 */

namespace PageBundle\Controller\Admin;

/**
 * InstallController
 *
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */
class InstallController extends \CommonBundle\Component\Controller\ActionController\InstallController
{
    protected function initConfig()
    {
        $this->installConfig(
            array(
                array(
                    'key'         => 'page.file_path',
                    'value'       => 'data/page/files',
                    'description' => 'The path to the page files',
                ),
            )
        );
    }

    protected function initAcl()
    {
        $this->installAcl(
            array(
                'pagebundle' => array(
                    'admin_page' => array(
                        'add', 'delete', 'edit', 'manage', 'upload', 'uploadProgress'
                    ),
                    'admin_page_category' => array(
                        'add', 'delete', 'edit', 'manage'
                    ),
                    'page' => array(
                        'file', 'view'
                    ),
                )
            )
        );

        $this->installRoles(
            array(
                'guest' => array(
                    'system' => true,
                    'parents' => array(),
                    'actions' => array(
                        'page' => array(
                            'file', 'view'
                        ),
                    )
                ),
            )
        );
    }
}
{'fraction_non_alphanumeric': 0.13521273818846255, 'fraction_numerical': 0.0, 'mean_word_length': 1.1859669138619509, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6077585', 'n_tokens_mistral': 1027, 'n_tokens_neox': 971, 'n_words': 236}