rm is applied to the class level it&#8217;s applied to every method in the class, but can be overridden by using it at the method level, The AST transform Enforce,
is more for the aesthetic of making a clear distinction from business rules/security, and your main code, but has the same power as the EnforcerService.
From the AST transform you can call any service, and use any variable pass into the annotated method.</p></div>
<div class="paragraph"><p>The Enforcer plugin was inspired by issues with Spring