Users and privileges :
I have a database with this panel:
I need to give privileges to users. For example: some users can only access Customers and Products, but not Invoices. Some users can only see Products. Some users can access all.
How can I create a table with the users, store the privileges (yes/no) by user and also use this information in the Panel to be able to activate or not the different options according to the privileges?