<commit_before><?php
class Vps_Acl extends Zend_Acl
{
    public function __construct()
    {
        $this->addRole(new Zend_Acl_Role('guest'));

        $this->add(new Zend_Acl_Resource('index'));
        $this->add(new Zend_Acl_Resource('menu'));
        $this->add(new Zend_Acl_Resource('login'));
        $this->add(new Zend_Acl_Resource('error'));
        $this->allow(null, 'login');
        $this->allow(null, 'error');
        $this->allow(null, 'menu');
    }

    public function getResources($parent = null)
    {
        $ret = array();<commit_msg>index für alle ausser guest erlauben<commit_after><?php
class Vps_Acl extends Zend_Acl
{
    public function __construct()
    {
        $this->addRole(new Zend_Acl_Role('guest'));

        $this->add(new Zend_Acl_Resource('index'));
        $this->add(new Zend_Acl_Resource('menu'));
        $this->add(new Zend_Acl_Resource('login'));
        $this->add(new Zend_Acl_Resource('error'));
        $this->allow(null, 'index');
        $this->deny('guest', 'index');
        $this->allow(null, 'login');
        $this->allow(null, 'error');
        $this->allow(null, 'menu');
    }

    public function getResources($parent = null)
    {
        $ret = array();
{'fraction_non_alphanumeric': 0.17526617526617527, 'fraction_numerical': 0.0, 'mean_word_length': 3.0463576158940397, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '853717', 'n_tokens_mistral': 412, 'n_tokens_neox': 397, 'n_words': 68}