Commit 3acb8764 authored by Gabriel Monnerat's avatar Gabriel Monnerat

Remove line to not check consistency inside navigate method because if the...

Remove line to not check consistency inside navigate method because if the user don't have Manager role, he hasn't permission to run checkConsistency function. Then, if one normal user try to redirect to Paypal page, the page will crash because he don't have permissions.
parent ea01dd0f
......@@ -65,7 +65,6 @@ class PaypalService(XMLObject):
def navigate(self, REQUEST=None, **kw):
"""See Payment Service Interface Documentation"""
self.Base_checkConsistency()
page_template = kw.pop("page_template")
paypal_dict = kw.get("paypal_dict", {})
temp_document = newTempDocument(self, 'id')
......
3
\ No newline at end of file
4
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment