ZF2 Generate navigation using zfcrbac zfcUser and hierarchical role strategy
问题 I begin in zf2 and i have to handle Many to Many permissions/roles. Using ZfcRbac. So i make a mapping with User / Hierarchical Role (table name= role) / permissions And i make some guards with deny policy. My guard, mapping, database, are ok. My HierarchicalRole Entity looks like : class HierarchicalRole implements HierarchicalRoleInterface And it's, for now the same as the original given by Bakura. My user Entity looks like this : class User extends ZfcUserEntity implements