Commit 07c9102c authored by Łukasz Nowak's avatar Łukasz Nowak

Let installation provider full access to document.

parent 98c32659
...@@ -15,4 +15,9 @@ ...@@ -15,4 +15,9 @@
<property id='base_category_script'>ERP5Type_acquireSecurityFromOwner</property> <property id='base_category_script'>ERP5Type_acquireSecurityFromOwner</property>
<multi_property id='base_category'>source</multi_property> <multi_property id='base_category'>source</multi_property>
</role> </role>
<role id='Assignee'>
<property id='title'>Provider of the Installation</property>
<property id='base_category_script'>ERP5Type_getSecurityCategoryFromSelf</property>
<multi_property id='base_category'>source_section</multi_property>
</role>
</type_roles> </type_roles>
\ No newline at end of file
...@@ -50,13 +50,14 @@ ...@@ -50,13 +50,14 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>SoftwareInstallation_setAggregateList</string> </value> <value> <string>SoftwareInstallation_setCategoryList</string> </value>
</item> </item>
<item> <item>
<key> <string>method_id</string> </key> <key> <string>method_id</string> </key>
<value> <value>
<list> <list>
<string>_setAggregate.*</string> <string>_setAggregate.*</string>
<string>_setSourceSection.*</string>
</list> </list>
</value> </value>
</item> </item>
......
480 481
\ No newline at end of file \ No newline at end of file
...@@ -103,6 +103,7 @@ else:\n ...@@ -103,6 +103,7 @@ else:\n
url_string=software_release_url,\n url_string=software_release_url,\n
aggregate=computer.getRelativeUrl(),\n aggregate=computer.getRelativeUrl(),\n
activate_kw={\'tag\': tag},\n activate_kw={\'tag\': tag},\n
source_section=portal.ERP5Site_getAuthenticatedMemberPersonValue().getRelativeUrl()\n
)\n )\n
\n \n
# Change desired state\n # Change desired state\n
......
817 818
\ No newline at end of file \ No newline at end of file
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
</portal_type> </portal_type>
<portal_type id="Software Installation"> <portal_type id="Software Installation">
<item>aggregate</item> <item>aggregate</item>
<item>source_section</item>
</portal_type> </portal_type>
<portal_type id="Software Installation Module"> <portal_type id="Software Installation Module">
<item>business_application</item> <item>business_application</item>
......
48 49
\ No newline at end of file \ No newline at end of file
...@@ -3,6 +3,7 @@ Slave Instance | aggregate ...@@ -3,6 +3,7 @@ Slave Instance | aggregate
Slave Instance | specialise Slave Instance | specialise
Software Installation Module | business_application Software Installation Module | business_application
Software Installation | aggregate Software Installation | aggregate
Software Installation | source_section
Software Instance Module | business_application Software Instance Module | business_application
Software Instance | aggregate Software Instance | aggregate
Software Instance | specialise Software Instance | specialise
\ 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