src/pyams_security/security.py
changeset 114 d00688ea8124
parent 93 be0b2504aaf3
child 118 e29e9774400a
--- a/src/pyams_security/security.py	Wed Mar 28 15:36:10 2018 +0200
+++ b/src/pyams_security/security.py	Wed Mar 28 16:03:21 2018 +0200
@@ -200,7 +200,7 @@
 
 
 @adapter_config(context=IDefaultProtectionPolicy, provides=IRoleProtectedObject)
-def ProtectedObjectFactory(context):
+def protected_object_factory(context):
     """Default protected object factory"""
     annotations = IAnnotations(context)
     protection = annotations.get(ROLES_ANNOTATIONS_KEY)