In this recipe, we will learn how to extend the base Phalcon ACL with a more feature-rich version from Phalcon Incubator. This powerful ACL class has built-in support for PDO databases and can even directly add, delete, and modify the database to construct the ACL data through its API. This recipe is a bit different in that we will only be importing the structure of the database without any specific entries to describe the permissions. We will fill this data by first running a CLI task to generate our permissions using the Incubator ACL class and then we will test them using the web environment.
Following is the source for more resources: