Skip to content
/ phpGACL Public

A PHP class offering Web developers a simple, yet immensely powerful "drop in" permission system to their current Web based applications.

License

Notifications You must be signed in to change notification settings

poing/phpGACL

Repository files navigation

NAME:

	phpGACL - PHP Generic Access Control List.

AUTHORS:
    
	Mike Benoit <[email protected]>

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.

About

A PHP class offering Web developers a simple, yet immensely powerful "drop in" permission system to their current Web based applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published