Skip to content
Emre Akay edited this page Sep 27, 2013 · 33 revisions

Aauth is a User Authorization Library for CodeIgniter 2.x, which aims to make easy some essential jobs such as login, permissions and access operations. Despite ease of use, it has also very advanced features like private messages, groupping, access management, public access etc..

After Quick Start, Take a look detailed Documentation from wiki

Quick Start


Let's start :)
Firstly we will load Aauth Library to system

$this->load->library("Aauth");

thats OK.

Now we will create 2 new users, Ali and John

$this->aauth->create_user('[email protected]','alispass','Ali Akay')
$this->aauth->create_user('[email protected]','johnspass','John Button')

thats it. now we have two users.

Lets Create two group president and commons :)

$this->aauth->create_group('president');
$this->aauth->create_user('commons');

ok now we have two groups.

Lets create a permission 'incrase_tax'

Aauth Version 2 has been released

Some functions has changed. Dont forget to scan the new features and functions from Wiki

Clone this wiki locally