Commit ca64aecf authored by Sebastien Robin's avatar Sebastien Robin

make sure to update security once the site is defined on accounting cancellation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15888 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ff5c55fc
......@@ -74,6 +74,7 @@ if len(user_site_list)>0:\n
site = context.Baobab_getVaultSite(user_site_list[0])\n
site_url = site.getRelativeUrl()\n
context.setSite(site_url)\n
context.updateLocalRolesOnSecurityGroups()\n
]]></string> </value>
......
......@@ -215,6 +215,7 @@ def getVaultItemList(vault_type=None, exclude_vault_type=None,\n
getVaultItemList = CachingMethod(getVaultItemList, id=(\'Delivery_getVaultItemList\', \'getVaultItemList\'), \n
cache_factory=\'erp5_ui_long\')\n
\n
\n
if vault_type is None:\n
assignment_list = context.Baobab_getUserAssignmentList()\n
else:\n
......
345
\ No newline at end of file
347
\ 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