Changeset 139 for trunk/grails-app/conf


Ignore:
Timestamp:
Sep 28, 2009, 10:01:43 AM (15 years ago)
Author:
gav
Message:

Install Navigation plugin, work on navigation and hopefully fixed a few more IE vs Firefox CSS issues.
New skin for class-diagram plugin.
Adjust security config to suite.
Replace home.gsp with start.gsp, remove options.gsp and acknowledgements.gsp as they are now on start.gsp tabs.
Create search pages for Tasks, Assets and Inventory.
Change suggested login to manager.
Change all date formats to format="EEE, dd-MMM-yyyy".

Location:
trunk/grails-app/conf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/Config.groovy

    r58 r139  
    6868}
    6969
     70//log4j.logger.org.springframework.security='off,stdout'
    7071
     72/** Navigation plugin menu.
     73   * The top level titles are taken from i18n message bundles.
     74   * Subitems i18n message bundles are not currently resolving with this plugin.
     75   */
     76navigation.nav = [
     77    [order:10, controller:'appCore', title:'home', action:'start',
     78        subItems: [
     79            [order:10, controller:'appCore', title:'Start', action:'start', isVisible: { true }],
     80            [order:20, controller:'appCore', title:'Manager', action:'manager', isVisible: { authenticateService.ifAllGranted('ROLE_Manager') }],
     81            [order:30, controller:'appCore', title:'Admin', action:'appAdmin', isVisible: { authenticateService.ifAllGranted('ROLE_AppAdmin') }],
     82            [order:90, controller:'appCore', title:'Timeout', action:'changeSessionTimeout', isVisible: { params.action == 'changeSessionTimeout' }],
     83            [order:91, controller:'appCore', title:'Password', action:'changePassword', isVisible: { params.action == 'changePassword' }],
     84        ]
     85    ],
     86    [order:20, controller:'taskDetailed', title:'tasks', action:'search',
     87        subItems: [
     88            [order:10, controller:'taskDetailed', title:'Search', action:'search', isVisible: { true }],
     89            [order:20, controller:'taskDetailed', title:'Create', action:'create', isVisible: { true }],
     90            [order:90, controller:'taskDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }],
     91            [order:91, controller:'taskDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
     92        ]
     93    ],
     94    [order:30, controller:'inventoryItemDetailed', title:'inventory', action:'search',
     95        subItems: [
     96            [order:10, controller:'inventoryItemDetailed', title:'Search', action:'search', isVisible: { true }],
     97            [order:20, controller:'inventoryItemDetailed', title:'Create', action:'create', isVisible: { true }],
     98            [order:90, controller:'inventoryItemDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }],
     99            [order:91, controller:'inventoryItemDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
     100        ]
     101    ],
     102    [order:40, controller:'assetDetailed', title:'assets', action:'search',
     103        subItems: [
     104            [order:10, controller:'assetDetailed', title:'Search', action:'search', isVisible: { true }],
     105            [order:20, controller:'assetDetailed', title:'Create', action:'create', isVisible: { true }],
     106            [order:90, controller:'assetDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }],
     107            [order:91, controller:'assetDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
     108        ]
     109    ]
     110]
    71111
    72 
    73 //log4j.logger.org.springframework.security='off,stdout'
     112/** Class-diagram plugin overrides.
     113  *
     114  */
     115classDiagram {
     116    associations {
     117        arrows {
     118            // See http://www.graphviz.org/doc/info/arrows.html for available arrowheads and their visual appearance
     119            references = "open"
     120            belongsTo = "odiamond"
     121            embedded = "diamond"
     122            inherits = "onormal"
     123            none = "none"
     124        }
     125        decorators {
     126            // plain text to be shown on edge ends
     127            hasOne = "1"
     128            hasMany = "*"
     129            none = ""
     130        }
     131    }
     132    skins {
     133        classicSpacey {
     134            name = " Classic Spacey"
     135            graphStyle = [bgcolor:"none", mclimit:100, nodesep:'1.5 equally', ranksep:'2 equally' ]
     136            nodeStyle = [style:"rounded,filled", color:"blue", fillcolor:"azure2", fontname:"Verdana", fontsize:18]
     137            edgeStyle = [color:"gray40", fontname:"Verdana", fontsize:18, labelfontsize:20, labeldistance:3.5]
     138        }
     139    }
     140}
  • trunk/grails-app/conf/SecurityConfig.groovy

    r138 r139  
    4040    '/js/**': ['IS_AUTHENTICATED_ANONYMOUSLY'],
    4141    '/plugins/help-balloons-1.2/**': ['IS_AUTHENTICATED_FULLY'],
    42      '/plugins/richui-0.6/**': ['IS_AUTHENTICATED_FULLY'],
    43      '/plugins/class-diagram-0.3/**': ['IS_AUTHENTICATED_FULLY'],
     42    '/plugins/richui-0.6/**': ['IS_AUTHENTICATED_FULLY'],
     43    '/plugins/navigation-1.1/**': ['IS_AUTHENTICATED_FULLY'],
     44    '/plugins/class-diagram-0.3/**': ['IS_AUTHENTICATED_FULLY'],
     45    '/classDiagram*': ['IS_AUTHENTICATED_FULLY'],
    4446    '/classDiagram/**': ['IS_AUTHENTICATED_FULLY'],
    4547    '/login*': ['IS_AUTHENTICATED_ANONYMOUSLY'],
Note: See TracChangeset for help on using the changeset viewer.