david-fisher / 320-F19-Track-I

Track I's group repo
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

User Story: Register account that needs approval #99

Open khesemeyerumass opened 4 years ago

khesemeyerumass commented 4 years ago

Sharon is a grower at her orchard. She needs to set up her account for Orchard Watch. From the main page, she navigates to the “Login/Register” page. Here, she sees a link that says “Register here”. Sharon enters the information necessary for her application, which will be the same information mentioned in issue #19, but with the addition of adding their role (public user/grower/researcher) and their phone number (not required). Everything that was just done should be very similar to issue #19, but the growers and researchers will need to have their applications approved before their account is registered. After filling out the information, she clicks the “Submit” button. Sharon is then taken to a page notifying her that her application is being reviewed by the Orchard Watch research team, and that she will be notified shortly.

Over on the research team, Dan receives an email about Sharon’s application. Dan hops onto OrchardWatch and logs onto his account. On the website, there will be a new button titled “Applications”, which will only be accessible by researchers. Dan clicks the button and is brought to a new page that contains a list of all of the unapproved applicants names. He clicks on Sharon’s name, which then displays the application information she provided and two buttons underneath her name. The two buttons are “Approved” and “Not Approved”. Dan selects the “Approved” button and, after a few seconds, her name and details are removed from the page. Sharon’s account has now been officially created and an email is sent to her email address.

A short time later, Sharon receives an email that her application has been accepted. From here, she can now log in and continue onto the next steps about setting up her orchard with Orchard Watch.

khesemeyerumass commented 4 years ago

We were not able to implement the email functionality yet because we require the proper endpoints and lambdas to do so. Unfortunately, the Cloud/Lambda team was not able to get this feature working yet, and so we could not implement it.