kookas/security-checker
Composer 安装命令:
composer require kookas/security-checker
包简介
Check whether the user can access a route based on its @Security annotation.
README 文档
README
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.
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-17