Commit bad87155 authored by Jérome Perrin's avatar Jérome Perrin

ERP5Security/ERP5GroupManager: don't ignore errors

This plugin already does its own error handling, so we don't really
need to let PAS catch other errors. This way, if an error occurs during
getPortalSecurityCategoryMapping ( which calls ERP5Type_getSecurityCategoryMapping )
we don't have a successful authentication with no groups.
parent 3304ea33
Pipeline #28728 failed with stage
in 0 seconds
...@@ -83,6 +83,8 @@ class ERP5GroupManager(BasePlugin): ...@@ -83,6 +83,8 @@ class ERP5GroupManager(BasePlugin):
""" PAS plugin for dynamically adding Groups """ PAS plugin for dynamically adding Groups
based on Assignments in ERP5 based on Assignments in ERP5
""" """
_dont_swallow_my_exceptions = True
meta_type = 'ERP5 Group Manager' meta_type = 'ERP5 Group Manager'
security = ClassSecurityInfo() security = ClassSecurityInfo()
......
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