Skip to content

Check whether the user can access a given route using one simple function.

License

Notifications You must be signed in to change notification settings

audoh/symfony-security-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SecurityCheckerBundle

SecurityCheckerBundle for Symfony and Twig lets you check whether the current user could access a given route based on that route's @Security annotation (it does not work for any other methods).

You could use this to, for example, only show a page link to a user who can actually access that page, without repeating your security definitions in the Twig template.

About

Check whether the user can access a given route using one simple function.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages