Ignore:
Timestamp:
Jul 19, 2010, 8:47:38 AM (14 years ago)
Author:
gav
Message:

Domain change: Add PurchasingGroup?.
Logic and views to suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/PersonController.groovy

    r628 r633  
    157157            person.properties = params
    158158            person.setPersonGroupsFromCheckBoxList(params.personGroups)
     159            person.setPurchasingGroupsFromCheckBoxList(params.purchasingGroups)
    159160
    160161            if(params.pass == "") {
     
    194195            person.password = authenticateService.encodePassword(params.pass)
    195196            person.setPersonGroupsFromCheckBoxList(params.personGroups)
     197            person.setPurchasingGroupsFromCheckBoxList(params.purchasingGroups)
    196198            if (person.save(flush: true)) {
    197199                addRemoveAuthorities(person)
Note: See TracChangeset for help on using the changeset viewer.