Commit 974bf313 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: adding a virtual master also adds assignment for the user

parent bc292eef
......@@ -28,7 +28,6 @@ if specialise_value is None:
# and create default assignments for the user
# who can manage compute nodes and create instances
"""
customer.newContent(
portal_type='Assignment',
destination_project_value=project,
......@@ -39,7 +38,7 @@ customer.newContent(
destination_project_value=project,
function='customer'
).open()
"""
# Compute Node trade condition
if is_compute_node_payable:
source_section_value = subscription_request.getDestinationSectionValue()
......
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