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

adding pages to invo

Hello everyone,

I am trying to add a page to invo

I add this line to my security plugin in $privateResources 'controls' => array('index', 'settings'), says 401 Unauthorized

anything i'm missing?



98.9k
Accepted
answer

ACL is loaded in session to avoid create it in every request, make sure you're deleting the cookies every time you change the ACL, or commenting out the line who stores the ACL in session: https://github.com/phalcon/invo/blob/master/app/plugins/SecurityPlugin.php#L83