[WIP] New user can now accept invite and will be made to

register. On succesful register and verfication they
will be added to service and forwarded to dashboard.

Nothing is done yet with the permissions requested in the
invite to the user.
This commit is contained in:
Adam Shimali
2016-03-02 15:25:04 +00:00
parent f9626a7626
commit 6ba13a6513
12 changed files with 257 additions and 68 deletions

View File

@@ -572,7 +572,7 @@ def sample_invite(mocker, service_one):
email_address = 'invited_user@test.gov.uk'
service_id = service_one['id']
permissions = 'send_messages,manage_service,manage_api_keys'
created_at = datetime.datetime.now()
created_at = str(datetime.datetime.now())
return invite_json(id, from_user, service_id, email_address, permissions, created_at)