This PR adds admin and/or master fields to Users if they should have administrator privileges.
It creates a UI for admin users. The application will check whether or not the user is an admin to know what UI to show. UI created for admin/master users is an initial board page that will have all the active orders (with following statuses: 'confirmar', 'confirmado', 'preparando', 'finalizando') + 'confirmado'. We don't want for now to show the 'cancelado' ones.
Resolves #31
This PR adds
admin
and/ormaster
fields to Users if they should have administrator privileges. It creates a UI for admin users. The application will check whether or not the user is an admin to know what UI to show. UI created for admin/master users is an initial board page that will have all the active orders (with following statuses: 'confirmar', 'confirmado', 'preparando', 'finalizando') + 'confirmado'. We don't want for now to show the 'cancelado' ones.