Ignore:
Timestamp:
Feb 8, 2009, 11:28:04 PM (16 years ago)
Author:
gav
Message:

Lots of changes to setup Acegi, should be complete with all current pages secured.
Added CSS and PersonGroup? and PersonGroupType?.
Adjust BootStrap? to suite.
Add Home and Admin pages.

Location:
branches/TaskRewrite/src/grails-app/domain
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/TaskRewrite/src/grails-app/domain/Person.groovy

    r58 r59  
    11class Person {
    22        static transients = ['pass']
    3         static hasMany = [authorities: Authority]
    4         static belongsTo = Authority
     3    static hasMany = [authorities: Authority,
     4                        personGroups: PersonGroup]
     5//                         modifications: Modification,
     6//                         entries: Entry,
     7//                         tasks: Task]
     8
     9    static belongsTo = [Authority, PersonGroup]
    510
    611        String loginName
     
    2530
    2631        static constraints = {
    27                 loginName(blank: false, unique: true)
     32                loginName(blank: false, unique: true)//minSize:7
    2833                firstName(blank: false)
    2934        lastName(blank: false)
    30                 password(blank: false)
     35                password(blank: false) //minSize:7
    3136        employeeID(blank: true, nullable:true)
    3237        }
Note: See TracChangeset for help on using the changeset viewer.