laminas / laminas-navigation

Manage trees of pointers to web pages in order to build navigation systems
https://docs.laminas.dev/laminas-navigation/
BSD 3-Clause "New" or "Revised" License
17 stars 11 forks source link

Adds a delegator to set ACL for helpers #19

Open froschdesign opened 3 years ago

froschdesign commented 3 years ago
Q A
New Feature yes

Description

The delegator allows the setting of a ACL for navigation helpers by using a registered Laminas\Permissions\Acl\AclInterface service.

Example of Usage

'navigation_helpers' => [
    'delegators' => [
        Laminas\View\Helper\Navigation::class => [
            Laminas\Navigation\View\PermissionAclDelegatorFactory::class,
        ],
    ],
],