I have some problem with ACL and roles extends.
$acl->addRole($guest);
$acl->addRole($basic_user, $guest);
$acl->addRole($user, $basic_user);
$acl->addRole($admin, $user);
This idea is very easy. Everythink what can guest do it's avaible from basic user. User extends privileges to basic user etc..etc..
When I migrate to Phalcon 2.0 I realise that roles can extend privileges only for first parent. I have resources avaible for guest, I'm logged using 'admin' role and ACL return false. Each privileges for user are avaible for admin.
$acl->setDefaultAction(\Phalcon\Acl::DENY);