Return to Snippet

Revision: 12509
at March 17, 2009 20:12 by lucastex


Initial Code
//Adding Roles
def roleAdmin = new Role(authority:'ROLE_ADMIN', description:'App admin').save()
def roleUser  = new Role(authority:'ROLE_USER', description:'App user').save()

Initial URL

                                

Initial Description

                                

Initial Title
Adding Roles to Bootstrap.groovy

Initial Tags
groovy

Initial Language
Groovy