We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

How to name Admin Controllers?

Hello! Sorry for stupid question, but I am stuck with ACL and my backend controllers.

If I name administration controllers like "AdminBlogController.php" (backend for php) and use it in my ACL list, like

'AdminBlog' => array('index', 'save'),

It have no affect to protection. I have access to it without session or anything - it's open. But if i name it just like "BlogController.php",

'blog' => array('index','save');

everything works like a charm. Where I did mistake? Does Phalcon have special rules for parse controller names? Thank you!

are you using a Multi apps ? example :

 - apps/
    -frontend/
        -conrollers
        -views
        -modals
    -backend/