有什么方法可以在 Grails 的 acegi-0.5 插件中实现基于方法的访问限制?

Is there any way to implement method based access restrictions in acegi-0.5 plugin in Grails?

我正在为 Grails 中的 Acegi-0.5 插件寻找类似于 @Secured(["USER_ROLE"]) 的语法。

目前我必须去对我的应用程序需要访问限制的每种方法手动设置限制。

请注意:我必须使用grails-1.2.3版本

我明白了...我只是将 acegi 安全性迁移到 spring 安全性,所有这些基于方法的映射开始工作...