Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Default Organisation for Newly Signed-Up User #616

Open
Ofektom opened this issue Aug 24, 2024 · 0 comments
Open

Create Default Organisation for Newly Signed-Up User #616

Ofektom opened this issue Aug 24, 2024 · 0 comments

Comments

@Ofektom
Copy link
Collaborator

Ofektom commented Aug 24, 2024

Description

When a new user signs up, they should be automatically assigned to a default organisation with name (first_name's Organisation). This ensures that each user is part of an organisation by default, allowing them to immediately start using features that require organisational context.

Acceptance Criteria

  1. Automatically create a default organisation for every new user upon successful sign-up.
  2. Organisation name should be first_name's Organisation
  3. Assign the newly signed-up user as the admin of this default organisation.
  4. Ensure that the default organisation has a standard set of configurations and settings.
  5. Handle any errors that may occur during the creation of the default organisation.
  6. Test to confirm that the user is correctly associated with the default organisation and can access all relevant features.

Purpose

To streamline the onboarding process by ensuring that every new user is immediately associated with an organisation, which is essential for accessing organisation-specific features and functionalities.

Requirements

  • Implement backend logic to create a default organisation during the user sign-up process.
  • Assign appropriate roles and permissions to the user within the default organisation.
  • Set up standard configurations for the default organisation.
  • Conduct tests to verify that the organisation is correctly created and associated with the user.

Expected Outcome

Every new user who signs up is automatically assigned to a default organisation with the necessary configurations, allowing them to use the platform without manual setup.
Figma Link: https://www.figma.com/design/VEItfX6St5NSAqqNHImcxD/HNG-Boilerplate-Designs?node-id=1-2&t=cwekpYIvtORMEPYf-0
Live Link: https://anchor-java.teams.hng.tech/login

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant