[eluser]stuffradio[/eluser]
In the controller go:
Code:
<?php
Class YourController extends Controller
{
function YourController()
{
parent::Controller();
$this->load->library('pbmauth', '', true);
}
function index()
{
$this->pbmauth->set_permission(2);
}
}
Then it would check what permission the user logged in has. If it has under 2, it wouldn't let you in... if it has 2 or more it would let you in.