Source

openemr / gacl /

Filename Size Date modified Message
..
Cache_Lite
admin
adodb
docs
other_languages/perl
soap
test_suite
223 B
25.9 KB
23.8 KB
1.4 KB
FAQ
58 B
1.5 KB
2.7 KB
20.5 KB
333 B
117.8 KB
3.9 KB
7.5 KB
10.1 KB
6.2 KB
NAME:

	phpGACL - PHP Generic Access Control List.

AUTHORS:
    
	Mike Benoit <ipso@snappymail.ca>

MAILING LISTS:

	See here: http://sourceforge.net/mail/?group_id=57103

INSTALL:
	
	Please refer to the docs/MANUAL or the "Manual" / API Guide link at http://phpgacl.sourceforge.net/
	
	Consult the example.php file in this directory. 

UPGRADING:
	
	MAKE A BACKUP FIRST! 
	MAKE A BACKUP FIRST! 
	MAKE A BACKUP FIRST! 
	Then run setup.php. It will most likely NOT work, as ADODB's XML Schema still needs some work. 

	Upgrading from ANY version to v3.3.x WILL NOT WORK YET! The schema format has changed way
	to much.
	
	Unless your running PostgreSQL, then upgrading from 3.1.x or older to 3.2.x or newer will require
	a complete dump (including column names), dropping the database, running setup.php, then 
	importing the dump. 
	
SYNOPSIS:

	require_once("gacl.class.php");

	$gacl_options = array(
									'db_type' => 'mysql',
									'db_host' => 'localhost',
									'db_user' => 'root',
									'db_password' => '',
									'db_name' => 'gacl',
								);

	$gacl = new gacl($gacl_options);
	
	if ( $gacl->acl_check( <ACO Section VALUE>, <Access Control Object VALUE> , <ARO Section VALUE>, <Access Request Object VALUE> ) ) {
		echo "Access Granted!";
	} else {
		echo "Access Denied!";
	}

DESCRIPTION:

	See here: http://phpgacl.sourceforge.net/

COPYRIGHT:
	Copyright (c) 2004 Mike Benoit, All rights reserved.
	This software is released under the GNU Lesser General Public License.
	Please read the disclaimer at the top of the gacl.inc.php file.