From a0f1404331632785a6ffab48e17dcc9ebf55dd5f Mon Sep 17 00:00:00 2001 From: zyro Date: Sun, 21 Apr 2019 09:15:46 +0200 Subject: [PATCH] sample app reproducing grails-plugins/grails-spring-security-core#573 --- build.gradle | 2 ++ grails-app/conf/application.yml | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/build.gradle b/build.gradle index d39d8a7..c0a8fea 100644 --- a/build.gradle +++ b/build.gradle @@ -71,6 +71,8 @@ dependencies { testCompile "org.seleniumhq.selenium:selenium-support:3.14.0" testRuntime "org.seleniumhq.selenium:selenium-chrome-driver:3.14.0" testRuntime "org.seleniumhq.selenium:selenium-firefox-driver:3.14.0" + + compile "org.grails.plugins:spring-security-core:4.0.0.M2" } bootRun { diff --git a/grails-app/conf/application.yml b/grails-app/conf/application.yml index 018624a..6bd855c 100644 --- a/grails-app/conf/application.yml +++ b/grails-app/conf/application.yml @@ -135,3 +135,11 @@ environments: testOnReturn: false jdbcInterceptors: ConnectionState defaultTransactionIsolation: 2 # TRANSACTION_READ_COMMITTED + +--- +grails: + plugin: + springsecurity: + controllerAnnotations: + staticRules: + - {pattern: /**, access: [permitAll]} \ No newline at end of file