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 collaboratorInvite User
- Background
-
- Given
- that a realm has been provisioned
- Scenarios
-
- Invite a user that has not been invited before
-
- Given
-
a "Invite User" job version "1" is invoked with the following uic:
targets attributes <ns>;Template;<invitation_template_id>;1 <ns>;Realm;<realm_id>;1 <ns>;InvitationToken;<invitation_token_id>;0 <invitation_token_id>;display_name;John Depot <invitation_token_id>;firstname;John <invitation_token_id>;lastname;Depot <invitation_token_id>;email;[email protected] <invitation_token_id>;mobile;0422123345 <invitation_token_id>;sender_email;[email protected] <invitation_token_id>;sender_name;Nick Beagley <invitation_token_id>;acceptance_url_prefix;http://invitation/join/ <invitation_token_id>;rejection_url_prefix;http://invitation/decline/ <ns>;Template;<pm_role_template_id>;1 <ns>;UserProfile;<user_profile_id>;0 <user_profile_id>;fullname;John Depot <user_profile_id>;firstname;John <user_profile_id>;lastname;Depot <ns>;Contact;<email_contact_id>;0 <email_contact_id>;type;email <email_contact_id>;value;[email protected] <email_contact_id>;preferred;true <ns>;Contact;<mobile_contact_id>;0 <mobile_contact_id>;type;mobile <mobile_contact_id>;value;0422123345 <mobile_contact_id>;preferred;true - When
- the request to "Invite User" is received
- Then
- a :john_depot_user_profile will be created
- And
- 'john_depot will have a property manager role'
- And
- the "UserProfile" will have 2 "Contact" attached
- And
-
the "UserProfile" will have a these notification_preferences with a default value of :on_email and :off_sms
:user_invited_notification_preferences :user_declined_invitation_notification_preferences :user_accepted_invitation_notification_preferences :user_suspended_notification_preferences - And
- an :invitation_token will be created
- And
- an :invitation_email_command will be created
- And
- an :invitation_sms_command will be created
Last published over 7 years ago by nbeagley.