To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorInitial Agency Setup
As an agency admin
I want to setup the basic information for my agency
So that I can quickly establish the agency
- Background
-
- Given
- a realm is in a pending_setup state
- Scenarios
-
- Setting up an agency where the principal will carry out the day to day admin activities
-
This is a valid scenario where the agency admin has received an email
to setup the agency and s/he wishes to do so. The principal of the agency is
also the person who will do all the admin work (i.e. invite user, etc).- Given
-
a "Setup Agency" job version "1" is invoked with the following uic:
targets attributes <ns>;Realm;<realm_id>;1 <realm_id>;jurisdiction;South Australia <realm_id>;principal_name;JP Principal <realm_id>;principal_email;[email protected] <realm_id>;principal_lifetime_email;[email protected] <realm_id>;principal_mobile;+61422123345 <realm_id>;principal_license;L1234431 <realm_id>;principal_dob;103948484899 <realm_id>;principal_enquiry_pwd;Kino <realm_id>;principal_as_admin;true <ns>;LegalEntity;<legal_entity_id>;0 <legal_entity_id>;abn;23451234578 <legal_entity_id>;name;Power Pty Ltd <legal_entity_id>;corporation_license;234512 <ns>;Account;<trust_account_id>;0 <trust_account_id>;type;Trust <trust_account_id>;bsb;342077 <trust_account_id>;bank_name;Commonwealth Bank <trust_account_id>;bank_branch;Surry Hills <trust_account_id>;account_name;Power <trust_account_id>;account_number;33211029 - When
- the request to "Setup Agency" is received
- Then
-
the "Realm" will be updated with:
attribute value jurisdiction South Australia principal_name JP Principal principal_email [email protected] principal_lifetime_email [email protected] principal_mobile +61422123345 principal_license L1234431 principal_enquiry_pwd Kino domain_obj_state active - And
- the "Realm" will have a :legal_entity attached
- And
- the "Realm" will have a :trust_account attached
- And
- a :agency_setup_completed_email_command will be created
Last published over 7 years ago by nbeagley.