Commit 62a88c99 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_subscription_request: Set specialise to Subscription Condition

parent d062becf
from zExceptions import Unauthorized
if REQUEST is not None:
pass #raise Unauthorized
raise Unauthorized
if context.getSimulationState() not in ["draft", "planned"]:
# Don't modify it anymore
......@@ -29,6 +29,7 @@ subscription_configuration = {
"url": subscription_condition.getUrlString(),
"shared": subscription_condition.getRootSlave(),
"sla_xml": subscription_condition.getSlaXml(),
"specialise": subscription_condition.getRelativeUrl()
}
email = context.getDestinationSectionValue().getDefaultEmailText()
now = DateTime()
......
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