Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Simple PHP ACL
PHP
branch: master
Failed to load latest commit information.
admin Dropped "App" table
assets Dropped "App" table
README.md Update README.md
index.php Dropped "App" table
install.php Dropped "App" table
install.sql Dropped "App" table
sampleData.sql Dropped "App" table

README.md

ACL

A Simple PHP ACL This ACL gives you control over the users, user roles and their permissions. This ACL is a improved version of the ACL from a net.tuts+ tuturial.

INSTALL STEPS:

  1. Create a MySQL database.
  2. Open assets/php/database.php with your IDE/text editor of choice.
  3. Edit the variables on lines 5-8 with the correct values for your DB setup.
  4. Save and upload all files from the archive to your webserver.
  5. Using your browser, navigate to the install.php file wherever you uploaded it.
  6. Select whether or not you want to install the sample records.
  7. Once it finishes running the SQL commands to create the tables it will redirect you to the index page.
  8. Delete install.php, install.sql, and sampleData.sql.

NOTE: If you change the ACL permissions so that user #1 no longer has the 'access_admin' permission, you won't be able to access the admin site because only userID = 1 has access to Admin Area by default.

Something went wrong with that request. Please try again.