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