Commit ac43fba5 authored by Romain Courteaud's avatar Romain Courteaud

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

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