source: branches/TaskRewrite/src/grails-app/domain/Authority.groovy @ 70

Last change on this file since 70 was 58, checked in by gav, 16 years ago

Configure BootStrap? with latest concepts.
Install and setup Acegi plugin with custom views.
Test Fixture plugin in a test app but couldn't get it to work with Acegi encodePassword() so gave up.

File size: 220 bytes
Line 
1class Authority {
2
3        static hasMany = [persons: Person]
4
5        /** description */
6        String description
7        /** ROLE String */
8        String authority
9
10        static constraints = {
11                authority(blank: false, unique: true)
12                description()
13        }
14}
Note: See TracBrowser for help on using the repository browser.