Open Sourced: Grails Customer Authentication Template
A lot of times when starting a new Grails project (or any new project, for that matter), there is a lot of work done on user authentication and registration, role definition and permissions, and managing the authentication flow.
This project template takes away the majority of that work, so you can get right to the fun stuff.
The AdminUser and CustomerUser domains, as well as the customer sign-up views come pre-populated with common properties, and are easy to modify to suit your needs. Also, take a look at SignupController to see how this all works.
SecurityFilters provides the logic for who can see which controllers/actions, and I owe thanks to CoderBerry.me for the majority of the code there.
By default BootStrap will create one AdminUser when in Development environment to get you started, and the properties of this admin can be modified directly there.
If you have any suggestions on how to further reduce development time with this project, or if you have any questions, let me know in the comments or reach out to me on Twitter.