The Standard Identity definition is unnecessary, and a better way for using ZfcRbac with ZfcUser is to define the 'auth_zfcuser_service' as default identity provider, since it's inherit from IdentityInterface and if it's null, the Rbac setIdentity function will switch to a standardidentity with the default anonymous role.
Some users add a closure between the two case in the config file and its a very bad way since its create a bug when the config_cache is enabled.
Did you choose this way for another reason that i missed it?
Good morning.
The Standard Identity definition is unnecessary, and a better way for using ZfcRbac with ZfcUser is to define the 'auth_zfcuser_service' as default identity provider, since it's inherit from IdentityInterface and if it's null, the Rbac setIdentity function will switch to a standardidentity with the default anonymous role.
Some users add a closure between the two case in the config file and its a very bad way since its create a bug when the config_cache is enabled.
Did you choose this way for another reason that i missed it?