Expected Behavior
I stop the app and remove Admin user from BootStrap, i expect Admin user has no access any more.
Actual Behaviour
Even Admin user does exist anymore. I can verify that from H2-DB and in grails-spring-security-ui:7.0.0-RC2 console.
Admin user still has access to the app.
You can go page to page no problem. You are still Amin. Even admin user doesn't exist.
Steps To Reproduce
- create an app with 'grails-spring-security:7.0.0-RC2' or 'grails-spring-security-ui:7.0.0-RC2'.
- add Admin user and role from BootStrap.groovy
- Create an GSP page with tags sec:username/ or <sec:loggedInUserInfo field='username'/>
- start the app.
- login with Remember Me checked.
- All work correctly
- Don't close browser
- turn OFF the app
- remove Admin from BootStrap.groovy
- Start app
- go back to browser
- Shift-Reload browser,
- tags sec:username/ or <sec:loggedInUserInfo field='username'/> still think you are login as Admin
You can go page to page no problem. You are still Amin. Even admin user doesn't exist.
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/tree/main/example3
Version
7.0.0-RC2
Expected Behavior
I stop the app and remove Admin user from BootStrap, i expect Admin user has no access any more.
Actual Behaviour
Even Admin user does exist anymore. I can verify that from H2-DB and in grails-spring-security-ui:7.0.0-RC2 console.
Admin user still has access to the app.
You can go page to page no problem. You are still Amin. Even admin user doesn't exist.
Steps To Reproduce
You can go page to page no problem. You are still Amin. Even admin user doesn't exist.
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/tree/main/example3
Version
7.0.0-RC2