@must_have_permission(ADMIN)
@must_be_branched_from_node
def draft_before_register_page(auth, node, draft, *args, **kwargs):
 ret = serialize_node(node, auth, primary=True)
 ret['draft'] = serialize_draft_registration(draft, auth)
 return ret

@ must_have_permission ( ADMIN ) @ must_be_branched_from_node def draft_before_register_page ( auth , node , draft , * args , ** kwargs ) : ret = serialize_node ( node , auth , primary = True ) ret [ 'draft' ] = serialize_draft_registration ( draft , auth ) return ret
allow the user to select an embargo period and confirm registration :return: serialized node + draftregistration :rtype: dict .