public static function getPerm($perm) { return 'backends:' . $GLOBALS['session']->get('ingo', 'backend/id') . ':' . $perm; }
/** */ public function __get($name) { global $injector; switch ($name) { case 'max_rules': return $injector->getInstance('Horde_Core_Perms')->hasAppPermission(Ingo_Perms::getPerm('max_rules')); } }