source: trunk/grails-app/domain/AuthAction.groovy @ 15

Last change on this file since 15 was 15, checked in by duh, 9 years ago

-added initial implementation of authorization code

File size: 618 bytes
Line 
1/**
2 * Authentorization / Authentication Action Domain Class
3 * @Author  Jeroen Wesbeek
4 * @Since   20091020
5 * @package Authorization
6 * @see     Authorization.groovy
7 * @see     BaseController.groovy
8 *
9 * This domain class contains controllers and their actions, this allows user
10 * role seperation on a functional level.
11 *
12 * Revision information:
13 * $Rev$
14 * $Author$
15 * $Date$
16 */
17class AuthAction {
18    // define many to many relationship with AuthRole
19    static belongsTo = AuthRole;
20    static hasMany = [ roles: AuthRole ];
21
22    String  controller;
23    String  action;
24   
25    //static constraints = {}
26}
Note: See TracBrowser for help on using the repository browser.