phalcon / rest-api

Implementation of an API application using the Phalcon Framework
https://phalcon.io
MIT License
89 stars 34 forks source link

[NFR] Add ACL #18

Open ruudboon opened 5 years ago

ruudboon commented 5 years ago

Would it be possible to add some kind of ACL allowing resource access to certain users?

niden commented 5 years ago

Yes that was in the TODO list when the project was created. I am not sure if I will have enough time in the next few weeks to address this but will try.

ruudboon commented 5 years ago

We could use the Phalcon V4 firewall for this. https://github.com/phalcon/cphalcon/pull/14078

xaero7 commented 4 years ago

How to use firewall? or ACL? the urls are broken: https://docs.phalcon.io/4.0/en/api/phalcon_firewall#firewall-adapter-acl