I know that Scaffolding is only for developers but isn’t there a way to protect it?
I’ve got the trigger on “admin”.
Now, this is how I try to protect it:
function User( )
if( $this->userlib->logged_in( ) && $this->userlib->getData( $this->session->userdata( 'username' ), 'status' ) == 3 )
$this->load->scaffolding( 'users' );
That’s my userlib login and status check for admin.
But now it never opens scaffolding. Is there a way to make it only viewable for status 3 members? Or anything else?