Documentation
SusheeSecurity
usage
$security = new SusheeSecurity( );
examples
include_once("../Kernel/common/security.class.php");
$security = new SusheeSecurity();
try{
$security->checkApp( 'officity/lib,officity/directory' );
$security->checkModule( 'contact,group' );
$security->checkField( 'contact', 'Notes' );
$security->checkService( 'contact', 'comment' );
$security->checkDep( 'contactWork' );
$security->checkFunction( 'ContactsApp', 'Password_Manager' ,'yes' );
}catch( SusheeSecurityException $E ){
exit( 'Warning : '.$E->getMessage() );
}
checkModule
check the user has access to a type of object