source: trunk/grails-app/domain/Authority.groovy @ 147

Last change on this file since 147 was 147, checked in by gav, 15 years ago

Re-install class-diagram from local svn build with patch to allow war deployment.
Class-diagram overrides removed from Config.groovy since these have all been included upstream.
Tidy comments in SecurityConfig?.groovy
Some work on adding assignedPerson work flow and PersonController?.
Add navAlt and filterPane search to Person and TaskProcedure?.

File size: 279 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
15    String toString() {
16        "${this.authority}"
17    }
18}
Note: See TracBrowser for help on using the repository browser.