Excuse me if my question seems a bit childish, I am quite new to Phalcon, though I understand basic concepts of MVC. Here is the situation:
I am making a small web application where there will be users of different levels, each having access to different ares of the backend. Currently, those are all saved in the database under a single table where a field called userlevel determines their role (eg 900 is admin, 700 is client etc). I understand that Phalcon uses ACL to permit/deny access to certain controllers/actions. However in the examples I only see 2 roles assigned (Guests and Users). One is for logged in users, the other for everyone else. How can I create more roles and assign them to the users during login, based on the userlevel field?
Also, I am thinking of creating 1 table for each user role and having separate login point for each role. Do you think this approach is better to implement with Phalcon?
Thanks for you time and excuse me if failed to understand something in the docs. I learn easier by doing, than by reading...