Php admin panel with users permissions
<p>This is my first question here and I beleive the question is not exists already :) I searched but without succes. </p>

<p>Ok, I have a next problem. 
I need some idea how to do a users permissions in admin panel. 
I want to have a super admin, admin and operator.
Anyone of this wiil have different privileges.
Super admin wiil have all privileges, admin some and operators some but not all will have the same privileges. 
I need a back-end logic for this.
How to do that without many if statements so my code looks nice? 
I use a Smarty template engine and oop php writen by my own.
I wiil assign with Smarty privilege but what next? 
Can anyone give me idea or some example code? </p>

<p>Thanks!</p>
