Reworking NewProject as a standalone and making NewProjectWithUser
for use with signup style tasks.
NewProject and NewProjectWithUser now create the project and user
at post_approve and then resets the user password at submit.
- This change allows signup tokens to expire and a new signup to
use the reset feature to still get access. The process still
appears exactly the same to the end user.
- Existing users creating a new project will also get created at
post_approve step, but as they needed no token this
functionality does not change from an outside perspective.
Fixing a project creation issue with keystone V3, wasn't setting
domain.
More standardisation in action handling functions.
Duplicate error now returns 409 rather than 400 for clarity.
Adding an "approved_by" values to tasks both for auditing and for
possible future logic checks.
Reworking of Network resource creation into two variant actions.
Reworking AddAdminToProject to be more generic and allow a list of
users.
Fixing issues with logic for task approval and task updating.
Change-Id: Ieba9907e5632dd441a86c41de291c6a7d0c8764a