Changeset 9275 for main


Ignore:
Timestamp:
2 Oct 2012, 17:11:02 (12 years ago)
Author:
Henrik Bettermann
Message:

CRPUOfficer now inherits from CCOfficer. Change grok.name.

File:
1 edited

Legend:

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

    r8460 r9275  
    1717##
    1818import grok
     19from waeup.kofa.permissions import CCOfficer
    1920
    2021
    21 class CRPUOfficer(grok.Role):
     22class CRPUOfficer(CCOfficer):
    2223    """ Permissions of FCEOkene staff.
    2324
     25    This is basically a copy of the the PortalManager. We exclude some
     26    permissions by commenting them out.
    2427    """
    2528
    26     grok.name('waeup.FCEOkeneOfficer')
     29    grok.name('waeup.CRPUOfficer')
    2730    grok.title(u'FCEOkene Officer')
    28     grok.permissions('waeup.managePortal', 'waeup.manageUsers',
    29                      'waeup.viewAcademics', 'waeup.manageAcademics',
    30                      'waeup.manageACBatches',
    31                      'waeup.manageDataCenter',
    32                      'waeup.managePortalConfiguration', 'waeup.viewApplication',
    33                      'waeup.manageApplication', 'waeup.handleApplication',
    34                      'waeup.viewApplicantsTab', 'waeup.payApplicant',
    35                      'waeup.viewStudent', 'waeup.manageStudent',
    36                      'waeup.clearStudent', 'waeup.payStudent',
    37                      'waeup.uploadStudentFile', 'waeup.showStudents',
    38                      'waeup.viewStudentsContainer','waeup.viewStudentsTab',
    39                      'waeup.viewHostels', 'waeup.manageHostels',
    40                      'waeup.editUser'
    41                      )
Note: See TracChangeset for help on using the changeset viewer.