Changeset 8374


Ignore:
Timestamp:
6 May 2012, 22:35:42 (13 years ago)
Author:
Henrik Bettermann
Message:

Fix permission assignment.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 edited

Legend:

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

    r8367 r8374  
    432432    grok.context(IDataCenter)
    433433    grok.view(DatacenterPage)
     434    grok.require('waeup.manageDataCenter')
    434435    text = _('Edit settings')
    435436
     
    523524    grok.template('actionbutton')
    524525    grok.viewletmanager(ActionBar)
    525     grok.require('waeup.manageAcademics')
     526    grok.require('waeup.manageDataCenter')
    526527    icon = 'actionicon_manage.png' # File must exist in static/
    527528    target = '@@show' # link to this viewname.
  • main/waeup.kofa/trunk/src/waeup/kofa/permissions.py

    r8367 r8374  
    178178    grok.title(u'Portal Manager')
    179179    grok.permissions('waeup.managePortal', 'waeup.manageUsers',
    180                      'waeup.viewAcademics', 'manageAcademics',
     180                     'waeup.viewAcademics', 'waeup.manageAcademics',
    181181                     'waeup.manageACBatches',
    182182                     'waeup.manageDataCenter','waeup.managePortalSettings',
Note: See TracChangeset for help on using the changeset viewer.