Changeset 12065 for main/waeup.ikoba


Ignore:
Timestamp:
26 Nov 2014, 18:23:23 (10 years ago)
Author:
Henrik Bettermann
Message:

First products browser components.

  • work in progress -
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  
    3333
    3434from waeup.ikoba.customers.container import CustomersContainer
     35from waeup.ikoba.products.container import ProductsContainer
     36
    3537
    3638class Company(grok.Application, grok.Container, Logger):
     
    8587        self['mandates'] = MandatesContainer()
    8688        self['customers'] = CustomersContainer()
     89        self['products'] = ProductsContainer()
    8790        self._createPlugins()
    8891
     
    111114        self.logger.info('Plugin update finished.')
    112115        return
     116
    113117attrs_to_fields(Company)
     118
    114119
    115120class ObjectUpgradeEvent(ObjectEvent):
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/permissions.py

    r12015 r12065  
    11## $Id$
    22##
    3 ## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
     3## Copyright (C) 2014 Uli Fouquet & Henrik Bettermann
    44## This program is free software; you can redistribute it and/or modify
    55## it under the terms of the GNU General Public License as published by
  • main/waeup.ikoba/trunk/src/waeup/ikoba/permissions.py

    r12015 r12065  
    4444    grok.name('waeup.Authenticated')
    4545
    46 class ViewProductsPermission(grok.Permission):
     46class ViewProducts(grok.Permission):
    4747    grok.name('waeup.viewProducts')
    4848
    49 class ManageProductsPermission(grok.Permission):
     49class ManageProducts(grok.Permission):
    5050    grok.name('waeup.manageProducts')
    5151
     
    6868    grok.name('waeup.exportData')
    6969
    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 
    7970class ManagePortalConfiguration(grok.Permission):
    8071    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')
    9472
    9573
     
    147125                     'waeup.manageUsers',
    148126                     'waeup.viewProducts', 'waeup.manageProducts',
    149                      'waeup.manageACBatches',
    150127                     'waeup.manageDataCenter',
    151128                     'waeup.importData',
Note: See TracChangeset for help on using the changeset viewer.