【发布时间】:2013-11-20 04:56:35
【问题描述】:
我刚刚注意到在 Deadbolt 2.2 和 deadbolt-2.1 版本中缺少 @Restrictions 注释。
在示例和文档中对其进行了解释 (http://deadbolt-2-java.herokuapp.com/#controller-Restrictions)。
它存在(DB-2.1.x):https://github.com/schaloner/deadbolt-2/tree/D2-1.x/project-code/app/be/objectify/deadbolt/actions
这里没有:
大师(2.2):https://github.com/schaloner/deadbolt-2-java/tree/master/app/be/objectify/deadbolt/java/actions
有没有它丢失的原因?我如何在没有注释的情况下使用 OR 完成角色分组,只需编写我自己的动态处理程序还是有更好的方法?
感谢您提前回答!
【问题讨论】:
标签: playframework-2.0 playframework-2.1 scala-template deadbolt