Changeset 4939 for main/waeup.sirp


Ignore:
Timestamp:
30 Jan 2010, 10:07:00 (15 years ago)
Author:
uli
Message:

Adjust some viewlet permissions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py

    r4937 r4939  
    399399    grok.context(IDataCenter)
    400400    grok.view(DatacenterPage)
     401    grok.require('waeup.manageUniversity')
    401402    grok.order(6)
    402403    icon = 'actionbox_templet.png'
     
    407408    grok.context(IDataCenter)
    408409    grok.view(DatacenterPage)
     410    grok.require('waeup.manageUniversity')
    409411    grok.order(5)
    410412    icon = 'go-up-16x16.png'
     
    426428    grok.viewletmanager(PrimaryNavManager)
    427429    grok.order(1)
    428     grok.require('waeup.manageUniversity')
     430    grok.require('waeup.View')
    429431
    430432    pnav = 0 # This is a kind of id of a tab. If some page provides
     
    465467    """
    466468    grok.order(2)
    467     grok.require('waeup.manageUniversity')
     469    grok.require('waeup.View')
    468470    grok.template('primarynavtab')
    469471
     
    479481    """
    480482    grok.order(3)
    481     grok.require('waeup.manageUniversity')
     483    grok.require('waeup.View')
    482484    grok.template('primarynavtab')
    483485
Note: See TracChangeset for help on using the changeset viewer.