Commit 0bc7241d authored by Rafael Monnerat's avatar Rafael Monnerat Committed by root

slapos_web: Only Service Providers can add computers.

parent 1347099e
......@@ -12,6 +12,7 @@
<list>
<string>css_class</string>
<string>default</string>
<string>enabled</string>
<string>extra</string>
<string>href</string>
<string>title</string>
......@@ -64,6 +65,16 @@
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -99,6 +110,10 @@
<key> <string>default</string> </key>
<value> <string>Generate a computer security token</string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string>id="computertokengenerationlink"</string> </value>
......@@ -129,4 +144,17 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.WebSection_isSectionAllowed([\'service_provider\'])</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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