Skip to content
Snippets Groups Projects
class.report.php 461 B
Newer Older
<?php

class ReportModel {

    const PERM_AGENTS = 'stats.agents';

    static protected $perms = array(
            self::PERM_AGENTS => array(
                /* @trans */ 'Stats',
                /* @trans */ 'Ability to view stats of other agents in allowed departments'),
            );

    static function getPermissions() {
        return self::$perms;
    }
}

RolePermission::register(/* @trans */ 'Miscellaneous', ReportModel::getPermissions());
?>