Is the any possibility to auoto load access rule from data base instead of hard-coded at php code.
let say i have a table for controller and controller_access
controller
id -> site
controller_access
controller_id -> site
actions -> index
user -> admin
type -> deny/allow