Commit c5af988d authored by Jérome Perrin's avatar Jérome Perrin

stop using assignRoleToSecurityGroup in favor of

updateLocalRolesOnSecurityGroups, it's deprecated


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22925 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 39e25d31
......@@ -71,7 +71,7 @@ It is called usually called after each update on\n
a document which follows classification based security.\n
"""\n
ob = sci[\'object\']\n
ob.assignRoleToSecurityGroup()\n
ob.updateLocalRolesOnSecurityGroups()\n
</string> </value>
</item>
<item>
......
......@@ -69,7 +69,7 @@
This script updates all local roles on the object. It requires Assignor\n
proxy role since it may be called by owner in draft state.\n
"""\n
state_change[\'object\'].getParentValue().assignRoleToSecurityGroup()\n
state_change[\'object\'].getParentValue().updateLocalRolesOnSecurityGroups()\n
</string> </value>
</item>
<item>
......
......@@ -71,7 +71,7 @@
that will update security groups. \n
"""\n
role_definition_parent = state_change[\'object\'].getParentValue()\n
role_definition_parent.activate().assignRoleToSecurityGroup()\n
role_definition_parent.activate().updateLocalRolesOnSecurityGroups()\n
</string> </value>
</item>
<item>
......
402
\ No newline at end of file
403
\ No newline at end of file
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