Open froschdesign opened 3 years ago
@Ocramius I want to register this delegator so that it is present by default but this can then again be interpreted as a BC break. What do you think?
The same applies to Laminas\Db\Adapter\AdapterAwareTrait
and the registration for the database validators in laminas-validator.
IMO configuring this out of the box is a bit too much
The other idea is to create CLI command to register the delegator.
@gsteel Maybe it would be a better idea to use the plugin manager for the navigation view helper to inject the role and the ACL. What do you think?
Description
The delegator allows the setting of a role for navigation helpers by using a registered
Laminas\Authentication\AuthenticationServiceInterface
service and an existing identity.Example of Usage