Ignore:
Timestamp:
24 Nov 2011, 05:52:34 (13 years ago)
Author:
Henrik Bettermann
Message:

StudentsOfficers? are not allowed to view the accommodation and payments containers of students. We therefore use the dedicated permissions waeup.handleAccommodation and waeup.payStudent.

Add role waeup.ACManager with permission waeup.manageACBatches which has already been uses in accesscodes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/viewlets.py

    r7136 r7181  
    6363class StudentManagePaymentsLink(StudentManageLink):
    6464    grok.order(4)
     65    grok.require('waeup.payStudent')
    6566    link = 'payments'
    6667    text = u'Payments'
     
    6869class StudentManageAccommodationLink(StudentManageLink):
    6970    grok.order(5)
     71    grok.require('waeup.handleAccommodation')
    7072    link = 'accommodation'
    7173    text = u'Accommodation Data'
Note: See TracChangeset for help on using the changeset viewer.