Skip to content

Commit

Permalink
Adds a delegator to set a role for helpers
Browse files Browse the repository at this point in the history
The delegator allows the setting a role for navigation helpers by using a registered `Laminas\Authentication\AuthenticationServiceInterface` service and an existing identity.

Signed-off-by: Frank Brückner <[email protected]>
  • Loading branch information
froschdesign committed Apr 24, 2021
1 parent 3651e2a commit 0d5b993
Show file tree
Hide file tree
Showing 4 changed files with 399 additions and 344 deletions.
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"laminas/laminas-zendframework-bridge": "^1.0"
},
"require-dev": {
"laminas/laminas-authentication": "^2.8.0",
"laminas/laminas-coding-standard": "~1.0.0",
"laminas/laminas-config": "^2.6 || ^3.1",
"laminas/laminas-console": "^2.6",
Expand All @@ -46,6 +47,7 @@
"phpunit/phpunit": "^9.4.1"
},
"suggest": {
"laminas/laminas-authentication": "^2.8, to provide role-based access restrictions to pages",
"laminas/laminas-config": "^2.6 || ^3.1, to provide page configuration (optional, as arrays and Traversables are also allowed)",
"laminas/laminas-permissions-acl": "^2.6, to provide ACL-based access restrictions to pages",
"laminas/laminas-router": "^3.0, to use router-based URI generation with Mvc pages",
Expand Down
Loading

0 comments on commit 0d5b993

Please sign in to comment.