Show Navigation


A plugin for enforcing business rules/permissions, that works with Spring Security Core, is easier to implement, and extend. It can also be used as an alternative to Spring Security ACL

Owner: virtualdogbert | 2.0.1 | Feb 16, 2019 | Package | Issues | Source | Documentation | License: Apache-2.0

dependencies {
    compile 'org.grails.plugins:enforcer:2.0.1'


The Enforcer Plugin, is a lightweight, easier to maintain/extend/use, alternative to Spring Security ACL. The plugin works off of an EnforcerService and an Enforce Ast transform, The service takes up to 3 closures, a predicate, a failure(defaults to an EnforcerException if not specified) and a success(defaulted to a closure that returns true).

For documentation see the github page: documentation