Changeset 12764 for main/waeup.ikoba/trunk/src/waeup/ikoba/permissions.py
- Timestamp:
- 15 Mar 2015, 06:18:19 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/permissions.py
r12347 r12764 71 71 grok.name('waeup.managePortalConfiguration') 72 72 73 class ViewPayments(grok.Permission): 74 grok.name('waeup.viewPayments') 75 76 class ManagePayments(grok.Permission): 77 grok.name('waeup.managePayments') 73 78 74 79 # Local Roles … … 125 130 grok.title(u'Workflow Manager') 126 131 grok.permissions('waeup.triggerTransition') 132 133 class PaymentsOfficer(grok.Role): 134 grok.name('waeup.PaymentsOfficer') 135 grok.title(u'Payments Officer (view only)') 136 grok.permissions('waeup.viewPayments') 137 138 class PaymentsManager(grok.Role): 139 grok.name('waeup.PaymentsManager') 140 grok.title(u'Payments Manager') 141 grok.permissions('waeup.viewPayments', 142 'waeup.managePayments') 127 143 128 144 class PortalManager(grok.Role): … … 145 161 'waeup.triggerTransition', 146 162 'waeup.viewCustomersTab', 147 'waeup.editContracts' 163 'waeup.editContracts', 164 'managePayments' 148 165 ) 149 166 … … 172 189 'waeup.triggerTransition', 173 190 'waeup.viewCustomersTab', 174 'waeup.editContracts' 191 'waeup.editContracts', 192 'managePayments' 175 193 ) 176 194
Note: See TracChangeset for help on using the changeset viewer.