* @copyright 2004 by http://wombat.exit0.net * @package wombatSite * @subpackage user */ /** * Null authorisation * * This module doesn't run any high-sofisitcated process to figure out * whether a user is allowed to view a page or not. It just returns * "true", which means that access is granted in every case. * * The Null module will often use as the fallback authorisation method * if no page-specific module is defined. * * The module with the opposite behaviour is False. * * @version 0.1 * @package wombatSite * @subpackage user */ class wbAuthorize_Null { /** * authorize against rule * * @access public * @param string $rule * @return boolean $result true on success */ function checkAuthorisation( $rule ) { return true; } } ?>