To restrict a page to the administrator group, add the following
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
if (!WA_Auth_RulePasses("Administrator")){
WA_Auth_RestrictAccess("index.php");
}
?>
to restrict the page to the supper administrator group, use the this code instead:
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
if (!WA_Auth_RulePasses("Super Administrator")){
WA_Auth_RestrictAccess("index.php");
}
?>