array('color'=>'#008000', 'label'=>'LBL_ACCESS_ALL', 'text_color'=>'white'), ACL_ALLOW_OWNER=>array('color'=>'#6F6800', 'label'=>'LBL_ACCESS_OWNER', 'text_color'=>'white'), ACL_ALLOW_NONE=>array('color'=>'#FF0000', 'label'=>'LBL_ACCESS_NONE', 'text_color'=>'white'), ACL_ALLOW_ENABLED=>array('color'=>'#008000', 'label'=>'LBL_ACCESS_ENABLED', 'text_color'=>'white'), ACL_ALLOW_DISABLED=>array('color'=>'#FF0000', 'label'=>'LBL_ACCESS_DISABLED', 'text_color'=>'white'), ACL_ALLOW_ADMIN=>array('color'=>'#0000FF', 'label'=>'LBL_ACCESS_ADMIN', 'text_color'=>'white'), ACL_ALLOW_NORMAL=>array('color'=>'#008000', 'label'=>'LBL_ACCESS_NORMAL', 'text_color'=>'white'), ACL_ALLOW_DEFAULT=>array('color'=>'#008000', 'label'=>'LBL_ACCESS_DEFAULT', 'text_color'=>'white'), ACL_ALLOW_DEV=>array('color'=>'#0000FF', 'label'=>'LBL_ACCESS_DEV', 'text_color'=>'white'), ACL_ALLOW_ADMIN_DEV=>array('color'=>'#0000FF', 'label'=>'LBL_ACCESS_ADMIN_DEV', 'text_color'=>'white'), ); /** * $GLOBALS['ACLActions * These are the actions for a given type. It includes the ACCESS Levels for that action and the label for that action. Every an object of the category (e.g. module) is added all associated actions are added for that object */ $GLOBALS['ACLActions'] = array( 'module'=>array('actions'=> array( 'access'=> array( 'aclaccess'=>array(ACL_ALLOW_ENABLED,ACL_ALLOW_DEFAULT, ACL_ALLOW_DISABLED), 'label'=>'LBL_ACTION_ACCESS', 'default'=>ACL_ALLOW_ENABLED, ), 'view'=> array( 'aclaccess'=>array(ACL_ALLOW_ALL,ACL_ALLOW_OWNER,ACL_ALLOW_DEFAULT, ACL_ALLOW_NONE), 'label'=>'LBL_ACTION_VIEW', 'default'=>ACL_ALLOW_ALL, ), 'list'=> array( 'aclaccess'=>array(ACL_ALLOW_ALL,ACL_ALLOW_OWNER,ACL_ALLOW_DEFAULT, ACL_ALLOW_NONE), 'label'=>'LBL_ACTION_LIST', 'default'=>ACL_ALLOW_ALL, ), 'edit'=> array( 'aclaccess'=>array(ACL_ALLOW_ALL,ACL_ALLOW_OWNER,ACL_ALLOW_DEFAULT, ACL_ALLOW_NONE), 'label'=>'LBL_ACTION_EDIT', 'default'=>ACL_ALLOW_ALL, ), 'delete'=> array( 'aclaccess'=>array(ACL_ALLOW_ALL,ACL_ALLOW_OWNER,ACL_ALLOW_DEFAULT, ACL_ALLOW_NONE), 'label'=>'LBL_ACTION_DELETE', 'default'=>ACL_ALLOW_ALL, ), 'import'=> array( 'aclaccess'=>array(ACL_ALLOW_ALL,ACL_ALLOW_DEFAULT, ACL_ALLOW_NONE), 'label'=>'LBL_ACTION_IMPORT', 'default'=>ACL_ALLOW_ALL, ), 'export'=> array( 'aclaccess'=>array(ACL_ALLOW_ALL,ACL_ALLOW_OWNER,ACL_ALLOW_DEFAULT, ACL_ALLOW_NONE), 'label'=>'LBL_ACTION_EXPORT', 'default'=>ACL_ALLOW_ALL, ), 'massupdate'=> array( 'aclaccess'=>array(ACL_ALLOW_ALL,ACL_ALLOW_DEFAULT, ACL_ALLOW_NONE), 'label'=>'LBL_ACTION_MASSUPDATE', 'default'=>ACL_ALLOW_ALL, ), ),), ); ?>