Commit 0b109961 authored by Brian Lloyd's avatar Brian Lloyd

Fixed obscure bug found in 275 investigation.

parent 6cb014f1
......@@ -155,7 +155,7 @@ class ClassSecurityInfo(SecurityInfo):
permission_name = item[0]
self._setaccess(item[1], permission_name)
if len(item) > 2:
self.setDefaultRoles(permission_name, item[2])
self.setPermissionDefault(permission_name, item[2])
# Set __roles__ for attributes declared public or private.
# Collect protected attribute names in ac_permissions.
......
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