Skip to content
This repository was archived by the owner on Jun 3, 2023. It is now read-only.
This repository was archived by the owner on Jun 3, 2023. It is now read-only.

Add Request Account Form #107

Description

@mihaibivol

Need

In order to have accurate information on ROSEdu People
As an admin
I want to grant access only to confirmed people
In order to easily gain access to ROSEdu People
As a community member
I want to create an account in a small number of steps

Deliverables

  • Create Account form for any user
  • Notification for admins to activate newly created accounts
Scenario: Create New Account
  Given I am on the landing page
  And I want to create an account
  When I click Create Account
  And I complete the form
  And there are no errors on the form
  Then I will see the following message "You will be notified as soon as your account is activated"
  And the admins will be notified that an account needs to be activated

Scenario: Create an account with an existing name
  Given I am on the landing page
  And I want to create an account
  When I click Create Account
  And I complete the form with <First Name> and <Last Name>
  And an user already has <First Name> and <Last Name>
  Then I will see the following message "Your account already exists, contact us to gain access to it"
  And I will see a link to a contact us address

Solution

  • Change Create Account view to add inactive users
  • Change Create Account view to send an email to a predefined admin
  • Validate that no conflicting First Name + Last Name exist
  • Add custom message when having a name conflict

Prerequisites

  • Django Views and Forms and Models :)

Notes

The contact us is needed because some accounts will be created using the management commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions