Changeset 9299


Ignore:
Timestamp:
5 Oct 2012, 14:06:03 (12 years ago)
Author:
Henrik Bettermann
Message:

Add PermissionManager? role.

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

Legend:

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

    r9273 r9299  
    199199                     'waeup.editUser')
    200200
     201class PermissionManager(grok.Role):
     202    grok.name('waeup.PermissionManager')
     203    grok.title(u'Permission Manager')
     204    grok.permissions('waeup.triggerTransition')
     205
    201206class PortalManager(grok.Role):
    202207    grok.name('waeup.PortalManager')
  • main/waeup.kofa/trunk/src/waeup/kofa/permissions.txt

    r9259 r9299  
    3939    >>> from waeup.kofa.permissions import get_waeup_roles
    4040    >>> len(list(get_waeup_roles()))
    41     16
     41    17
    4242
    4343    >>> len(list(get_waeup_roles(also_local=True)))
    44     30
     44    31
    4545
    4646
     
    6262     u'waeup.DataCenterManager',
    6363     u'waeup.ImportManager',
     64     u'waeup.PermissionManager',
    6465     u'waeup.PortalManager',
    6566     u'waeup.Student',
Note: See TracChangeset for help on using the changeset viewer.