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
No related merge requests found
...@@ -65,7 +65,6 @@ class PaypalService(XMLObject): ...@@ -65,7 +65,6 @@ class PaypalService(XMLObject):
def navigate(self, REQUEST=None, **kw): def navigate(self, REQUEST=None, **kw):
"""See Payment Service Interface Documentation""" """See Payment Service Interface Documentation"""
self.Base_checkConsistency()
page_template = kw.pop("page_template") page_template = kw.pop("page_template")
paypal_dict = kw.get("paypal_dict", {}) paypal_dict = kw.get("paypal_dict", {})
temp_document = newTempDocument(self, 'id') temp_document = newTempDocument(self, 'id')
......
3 4
\ No newline at end of file \ 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