| [[s2-create-role-hierarchy-entry]] |
| === s2-create-role-hierarchy-entry |
| |
| .Purpose |
| |
| Creates a persistent role hierarchy entry domain class for storing role hierarchy information in the database. The general format is: |
| |
| .... |
| grails s2-create-role-hierarchy-entry <classname> |
| .... |
| |
| .Example |
| |
| .... |
| grails s2-create-role-hierarchy-entry com.yourapp.RoleHierarchyEntry |
| .... |
| |
| .Description |
| |
| This creates the domain class in the specified package, and also registers the name in `grails-app/conf/application.groovy`, along with enabling persistent role hierarchy storage and lookup. |