Changeset 12347
- Timestamp:
- 31 Dec 2014, 08:18:54 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py
r12346 r12347 652 652 grok.context(ICustomer) 653 653 grok.name('change_portrait') 654 grok.require('waeup. uploadCustomerFile')654 grok.require('waeup.handleCustomer') 655 655 grok.template('filesuploadpage') 656 656 label = _('Change portrait') -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/basepage.pt
r11971 r12347 21 21 <tal:files content="structure provider:files" /> 22 22 </tbody> 23 <tfoot>24 <tr>25 <td>26 <input tal:repeat="action view/actions"27 tal:replace="structure action/render" />28 </td>29 </tr>30 </tfoot>31 23 </table> -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/fileviewlets.py
r12224 r12347 68 68 """ 69 69 grok.view(CustomerFilesUploadPage) 70 grok.require('waeup. uploadCustomerFile')70 grok.require('waeup.handleCustomer') 71 71 72 72 -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/permissions.py
r12097 r12347 52 52 53 53 54 class UploadCustomerFile(grok.Permission):55 grok.name('waeup.uploadCustomerFile')56 57 58 54 class ManageCustomer(grok.Permission): 59 55 grok.name('waeup.manageCustomer') … … 72 68 grok.name('waeup.local.CustomerRecordOwner') 73 69 grok.title(u'Customer Record Owner') 74 grok.permissions('waeup.handleCustomer', 'waeup.uploadCustomerFile',70 grok.permissions('waeup.handleCustomer', 75 71 'waeup.viewCustomer', 'waeup.editCustomerDocuments', 76 72 'waeup.editContracts') … … 97 93 grok.permissions('waeup.viewCustomer', 'waeup.viewCustomers', 98 94 'waeup.manageCustomer', 'waeup.viewCustomersContainer', 99 'waeup.editCustomerDocuments', 'waeup.uploadCustomerFile',95 'waeup.editCustomerDocuments', 100 96 'waeup.viewCustomersTab', 'waeup.triggerTransition', 101 97 'waeup.editContracts') -
main/waeup.ikoba/trunk/src/waeup/ikoba/permissions.py
r12207 r12347 142 142 'waeup.viewCustomer', 'waeup.viewCustomers', 143 143 'waeup.manageCustomer', 'waeup.viewCustomersContainer', 144 'waeup.editCustomerDocuments', 'waeup.uploadCustomerFile',144 'waeup.editCustomerDocuments', 145 145 'waeup.triggerTransition', 146 146 'waeup.viewCustomersTab', … … 169 169 'waeup.viewCustomer', 'waeup.viewCustomers', 170 170 'waeup.manageCustomer', 'waeup.viewCustomersContainer', 171 'waeup.editCustomerDocuments', 'waeup.uploadCustomerFile',171 'waeup.editCustomerDocuments', 172 172 'waeup.triggerTransition', 173 173 'waeup.viewCustomersTab',
Note: See TracChangeset for help on using the changeset viewer.