Skip to content

Migration to Grails 3

Pablo Pazos Gutiérrez edited this page Oct 2, 2019 · 4 revisions

Domain

User

  • added String id uuid generated
  • removed uid field
  • removed username field (username will be the email)

Classes

Packages

  • changed org.codehaus.groovy.grails.web.json.JSONObject to org.grails.web.json.JSONObject
  • changed org.codehaus.groovy.grails.commons.GrailsDomainClass to grails.core.GrailsDomainClass

Unused includes

  • removed import org.codehaus.groovy.grails.commons.GrailsDomainClass from UserRole

SEC removal

Need to change the sec:xxx taglibs to check if the logged user has a role

  • this is used in a lot of places in the GSP, like in the admin layout