I'm trying to implement a user authentication in my already huge website. The problem is that the way i have it right now is not that smart..
Is there a way to make a user role like, "Guest", "User", "Moderator", "Admin", "Owner"
And in one file, make them allow to view the roles view, but only the roles view? I've been looking into this:
But I dont think that it's the best way, when i use $this->view->pick('index')
Hope you can help! :-)