]> git.agnieray.net Git - galette.git/commit
Implement regexps in routes ACLs
authorJohan Cwiklinski <johan@x-tnd.be>
Sat, 9 May 2020 21:50:03 +0000 (23:50 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Mon, 11 May 2020 02:23:57 +0000 (04:23 +0200)
commit0b407a8fb6b013e997beb11ee2674e2c0bbb4a56
tree2d5a41ced5f0257a05344561bd8ebb04a5d61373
parentc427a66ed86bdce4eec1689c131a814f000a188b
Implement regexps in routes ACLs

Centralize in dependency container
Add method to retrieve ACL for route
Add unit tests

closes #1426 and refs #1416
galette/includes/core_acls.php [new file with mode: 0644]
galette/includes/dependencies.php
galette/lib/Galette/Middleware/Authenticate.php
galette/lib/Galette/Middleware/CheckAcls.php
tests/Galette/Middleware/tests/unit/CheckAcls.php [new file with mode: 0644]