Changeset 9261 for main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
- Timestamp:
- 30 Sep 2012, 20:30:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r9217 r9261 33 33 ) 34 34 from zope.event import notify 35 from zope.security import checkPermission 35 36 from zope.securitypolicy.interfaces import IPrincipalRoleManager 36 37 from zope.session.interfaces import ISession … … 1386 1387 title_name_tuples = [ 1387 1388 (util.title, name) for name, util in utils] 1389 # The exporter for access codes requires a special permission. 1390 if not checkPermission('waeup.manageACBatches', self.context): 1391 title_name_tuples.remove((u'AccessCodes', u'accesscodes')) 1388 1392 return sorted(title_name_tuples) 1389 1393
Note: See TracChangeset for help on using the changeset viewer.