I noticed this as well and looked through some of the source. It looks like both the @Restrictions
and @Restrict
annotations were replaced with only @Restrict
. From the comments on the current @Restrict
code:
Within an {@Group} roles are ANDed, and between {@Group} the role groups are ORed. For example, @Restrict({@Group("foo"), @Group("hurdy", "gurdy)}) means the @Subject must have either the foo role OR both the hurdy AND gurdy roles.
So it looks like you can just use the one @Restrict
annotation now combined with the new @Group
one as well.