Commit a57bc7f6 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: project_slap_wf fixup

parent d7e1cbc1
......@@ -10,7 +10,7 @@ kwargs = state_change.kwargs
try:
token_id = kwargs['invitation_token']
except KeyError:
raise TypeError("Project_requestAssignment takes exactly 1 argument")
raise TypeError("Project_acceptInvitation takes exactly 1 argument")
try:
invitation_token = portal.invitation_token_module[token_id]
......
......@@ -52,6 +52,14 @@
<key> <string>_params</string> </key>
<value> <string>state_change</string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......
......@@ -23,7 +23,6 @@
<value>
<tuple>
<string>action_type/workflow</string>
<string>before_script/portal_workflow/project_slap_interface_workflow/script_Project_checkConsistency</string>
<string>after_script/portal_workflow/project_slap_interface_workflow/script_Project_acceptInvitation</string>
</tuple>
</value>
......
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