Commit 902acae4 authored by 's avatar

Merged in bug fix # 1344 to PermissionMapping.

parent 5dfe3bc8
......@@ -165,7 +165,8 @@ class RoleManager:
def _isBeingAccessedAsZClassDefinedInstanceMethod(self):
p=getattr(self,'aq_parent',None)
if p is None: return 0 # Not wrapped
return type(p.aq_base) is PermissionMapper
base=getattr(p, 'aq_base', None)
return type(base) is PermissionMapper
......
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