Commit 642f5418 authored by 's avatar

Fixed object ops to 'declareObjectXXX'

parent e659a8da
......@@ -178,8 +178,8 @@ class SecurityInfo(Acquisition.Implicit):
"""Declare the object to be associated with a permission."""
self._setaccess((), permission_name)
setDefaultRoles__roles__=ACCESS_PRIVATE
def setDefaultRoles(self, permission_name, roles):
setPermissionDefault__roles__=ACCESS_PRIVATE
def setPermissionDefault(self, permission_name, roles):
"""Declare default roles for a permission"""
rdict = {}
for role in roles:
......
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