Commit 01c8cf1b authored by Jérome Perrin's avatar Jérome Perrin

Add a Manager proxy role on Preference_afterClone, because priority property...

Add a Manager proxy role on Preference_afterClone, because priority property has 'Manage portal' as write_permission in the property sheet.
Also don't change the priority when we are adding a preference during business template installation.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19503 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4aac9315
......@@ -65,7 +65,8 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>context.setPriority(3) # User\n
<value> <string>if not container.REQUEST.other.get(\'is_business_template_installation\'):\n
context.setPriority(3) # User\n
</string> </value>
</item>
<item>
......@@ -90,6 +91,14 @@
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
......@@ -115,7 +124,8 @@
<value>
<tuple>
<string>_getattr_</string>
<string>context</string>
<string>container</string>
<string>context</string>
</tuple>
</value>
</item>
......
708
\ No newline at end of file
711
\ 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