Changeset 12065 for main/waeup.ikoba/trunk/src/waeup
- Timestamp:
- 26 Nov 2014, 18:23:23 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/app.py
r12005 r12065 33 33 34 34 from waeup.ikoba.customers.container import CustomersContainer 35 from waeup.ikoba.products.container import ProductsContainer 36 35 37 36 38 class Company(grok.Application, grok.Container, Logger): … … 85 87 self['mandates'] = MandatesContainer() 86 88 self['customers'] = CustomersContainer() 89 self['products'] = ProductsContainer() 87 90 self._createPlugins() 88 91 … … 111 114 self.logger.info('Plugin update finished.') 112 115 return 116 113 117 attrs_to_fields(Company) 118 114 119 115 120 class ObjectUpgradeEvent(ObjectEvent): -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/permissions.py
r12015 r12065 1 1 ## $Id$ 2 2 ## 3 ## Copyright (C) 201 1Uli Fouquet & Henrik Bettermann3 ## Copyright (C) 2014 Uli Fouquet & Henrik Bettermann 4 4 ## This program is free software; you can redistribute it and/or modify 5 5 ## it under the terms of the GNU General Public License as published by -
main/waeup.ikoba/trunk/src/waeup/ikoba/permissions.py
r12015 r12065 44 44 grok.name('waeup.Authenticated') 45 45 46 class ViewProducts Permission(grok.Permission):46 class ViewProducts(grok.Permission): 47 47 grok.name('waeup.viewProducts') 48 48 49 class ManageProducts Permission(grok.Permission):49 class ManageProducts(grok.Permission): 50 50 grok.name('waeup.manageProducts') 51 51 … … 68 68 grok.name('waeup.exportData') 69 69 70 class ExportPaymentsOverview(grok.Permission):71 grok.name('waeup.exportPaymentsOverview')72 73 class ExportBursaryData(grok.Permission):74 grok.name('waeup.exportBursaryData')75 76 class ViewTranscript(grok.Permission):77 grok.name('waeup.viewTranscript')78 79 70 class ManagePortalConfiguration(grok.Permission): 80 71 grok.name('waeup.managePortalConfiguration') 81 82 class ManageACBatches(grok.Permission):83 grok.name('waeup.manageACBatches')84 85 class PutBiometricDataPermission(grok.Permission):86 """Permission to upload/change biometric data.87 """88 grok.name('waeup.putBiometricData')89 90 class GetBiometricDataPermission(grok.Permission):91 """Permission to read biometric data.92 """93 grok.name('waeup.getBiometricData')94 72 95 73 … … 147 125 'waeup.manageUsers', 148 126 'waeup.viewProducts', 'waeup.manageProducts', 149 'waeup.manageACBatches',150 127 'waeup.manageDataCenter', 151 128 'waeup.importData',
Note: See TracChangeset for help on using the changeset viewer.