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

Let installation provider full access to document.

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