zendframework/zf2 — pull request #4012 by adelamarre (2013-03-12 16:24:22+00:00)
Title: Avoid the check of resource existence before calling isAllow() in the

The function acceptAcl() calls hasResource() before calling isAllowed() making you have to explicitly register all of your resources beforehand. My patch enables you to lazy load resource registration on the fly in your Acl implementation.

acceptAcl() method.

Change-Id: I47444e0ee26a896066af56208670180bd7ce4fa7
Signed-off-by: Antoine Delamarre