Commit e371094e authored by Yoshinori Okuji's avatar Yoshinori Okuji

updateLocalRolesOnSecurityGroups needs to be unrestricted.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18532 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2c361026
......@@ -68,6 +68,7 @@ from Products.CMFActivity.ActiveObject import ActiveObject
from Products.ERP5Type.Accessor.Accessor import Accessor as Method
from Products.ERP5Type.Accessor.TypeDefinition import asDate
from Products.ERP5Type.Message import Message
from Products.ERP5Type.UnrestrictedMethod import UnrestrictedMethod
from string import join
import sys, re
......@@ -3095,6 +3096,10 @@ class Base( CopyContainer,
"""Assign Local Roles to Groups on self, based on Portal Type Role
Definitions and "ERP5 Role Definition" objects contained inside self.
"""
updateLocalRolesOnSecurityGroups = UnrestrictedMethod(self._updateLocalRolesOnSecurityGroups)
return updateLocalRolesOnSecurityGroups(**kw)
def _updateLocalRolesOnSecurityGroups(self, **kw):
self._getTypesTool().getTypeInfo(self)\
.updateLocalRolesOnSecurityGroups(self, **kw)
......
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