Ignore:
Timestamp:
14 Nov 2014, 22:32:42 (10 years ago)
Author:
Henrik Bettermann
Message:

Add components for customer management. Some tests are still missing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/permissions.txt

    r11949 r11958  
    2929
    3030    >>> sorted(list(get_all_roles()))
    31     [(u'waeup.DataCenterManager', <waeup.ikoba.permissions.DataCenterManager object at 0x...]
     31    [(u'waeup.Customer', <waeup.ikoba.customers.permissions.CustomerRole object at 0x...]
    3232
    3333:func:`get_waeup_roles`
     
    3939    >>> from waeup.ikoba.permissions import get_waeup_roles
    4040    >>> len(list(get_waeup_roles()))
    41     9
     41    13
    4242
    4343    >>> len(list(get_waeup_roles(also_local=True)))
    44     10
     44    15
    4545
    4646
     
    5353    >>> from waeup.ikoba.permissions import get_waeup_role_names
    5454    >>> list(get_waeup_role_names())
    55     [u'waeup.DataCenterManager',
     55    [u'waeup.Customer',
     56    u'waeup.CustomerImpersonator',
     57    u'waeup.CustomersManager',
     58    u'waeup.CustomersOfficer',
     59    u'waeup.DataCenterManager',
    5660    u'waeup.ExportManager',
    5761    u'waeup.ImportManager',
Note: See TracChangeset for help on using the changeset viewer.