I have permissions and roles built into an admin inside of zf2. I want to move the guards from the config file to the db.
I see there is a GuardInterface but I don't see a guide in the zfc-rbac docs. https://github.com/ZF-Commons/zfc-rbac/blob/master/docs/04.%20Guards.md
I've tried mirroring the implementation of a role provider, I don't get any errors but the guards do not seem to be initiating.
Is there a guide I can follow to help me implement this?