Commit 560b129a authored by Yoshinori Okuji's avatar Yoshinori Okuji

Pass any argument to assignRoleToSecurityGroup in a portal type from assignRoleToSecurityGroup.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5812 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5aef6ac5
...@@ -2243,12 +2243,12 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ): ...@@ -2243,12 +2243,12 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ):
return None return None
security.declareProtected(Permissions.ModifyPortalContent,'assignRoleToSecurityGroup') security.declareProtected(Permissions.ModifyPortalContent,'assignRoleToSecurityGroup')
def assignRoleToSecurityGroup(self): def assignRoleToSecurityGroup(self, **kw):
""" """
Set or reset local roles assignments based on local roles Set or reset local roles assignments based on local roles
definition in portal type. definition in portal type.
""" """
self._getTypesTool()[self.getPortalType()].assignRoleToSecurityGroup(self) self._getTypesTool()[self.getPortalType()].assignRoleToSecurityGroup(self, **kw)
# Template Management # Template Management
security.declareProtected(Permissions.View, 'getDocumentTemplateList') security.declareProtected(Permissions.View, 'getDocumentTemplateList')
......
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