arjangch opened a new issue, #1178: URL: https://github.com/apache/grails-spring-security/issues/1178
### Expected Behavior I am following doc https://apache.github.io/grails-spring-security/7.0.x/core-plugin/guide/index.html section 4.5. Static Map. If i **don't add** securityConfigType line, everything works fine as expected. `grails.plugin.springsecurity.securityConfigType = "InterceptUrlMap"` then I add static rules `grails.plugin.springsecurity.controllerAnnotations.staticRules = [ ... ] grails.plugin.springsecurity.filterChain.chainMap = [ ... ]` But if i **add** this securityConfigType line (as document says i should) i get _not authorized_ error. ### Actual Behaviour when i add the line securityConfigType, i get not authorized. For example index page is permitAll but still I get _not authorized_. `[pattern: '/assets/**', access: ['permitAll']], [pattern: '/index', access: ['permitAll']], [pattern: '/index.gsp', access: ['permitAll']],` Confusing part is, /assets/ are permitted. This works http://localhost:8083/example3/assets/grails.svg but this is not authorized http://localhost:8083/example3/ ### Steps To Reproduce See my [Example3 config](https://github.com/arjangch/grails-project-helper/blob/main/example3/grails-app/conf/application.groovy) Am i configuring this wrong? ### Environment Information java=21.0.8-zulu gradle=8.14.3 groovy=4.0.28 grails=7.0.0-RC2 ### Example Application https://github.com/arjangch/grails-project-helper/blob/main/example3 ### Version 7.0.0-RC2 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
