Commit f60a6399 authored by Ivan Tyagov's avatar Ivan Tyagov

Do not use current context to get 'acl_user' folder type but take it from...

Do not use current context to get 'acl_user' folder type but take it from portal's  user folder instead.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12898 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7f0e79fd
......@@ -69,7 +69,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string># Using PAS removes the need of this script\n
if state_change.object.acl_users.meta_type == \'Pluggable Auth Service\':\n
if state_change.getPortal().acl_users.meta_type == \'Pluggable Auth Service\':\n
return\n
\n
# Get the assignment object and its parent\n
......@@ -105,6 +105,12 @@ if person_security_script is not None:\n
<key> <string>_params</string> </key>
<value> <string>state_change</string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
......
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