I have made a user rules for menu. so every user only can see the menu they have not all, but now I need to creating user rules for each function like CRUD in codeigniter, so the user cannot do any function without setting the function they need in set rules of CRUD functions. may someone can help me for the guidline how to creating set rules for function like CRUD, so from the function we can choose what kind of function user can use.
I'm try to create like this pic, so we can choose the function that user can use