You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ken Schaefer
c59cac0cb8
|
2 years ago | |
---|---|---|
.. | ||
Cache_Lite | 2 years ago | |
admin | 2 years ago | |
docs | 2 years ago | |
other_languages/perl | 2 years ago | |
AUTHORS | 2 years ago | |
CHANGELOG | 2 years ago | |
COPYING.lib | 2 years ago | |
CREDITS | 2 years ago | |
FAQ | 2 years ago | |
README | 2 years ago | |
TODO | 2 years ago | |
gacl.ini.php | 2 years ago | |
phpdoc.phpgacl.ini | 2 years ago | |
profiler.inc | 2 years ago |
README
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.