Capture environment role from modal

This commit is contained in:
Montana
2018-09-11 16:41:37 -04:00
parent 3c9243686a
commit c3da34e7cb
3 changed files with 6 additions and 4 deletions

View File

@@ -241,6 +241,8 @@ def update_member(workspace_id, member_id):
g.current_user, workspace, member, form.data["workspace_role"]
)
new_role_name = member.role_displayname
if form.data["environment_role"]:
print (form.data)
return redirect(
url_for(