3DBAG / 3DBAG/3dbag-api

User management

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

  • Decide what data we need to store for a user (first name, last name, email, date of registration, company/organization etc.). But we need to make registration as simple as possible, so probably only ask for first name, last name, email, password in the main registration form and then give options to fill out additional info.
  • Require min 12 character long random passwords
  • Implement user roles so that we have sandbox and paying users, where the sandbox users can only access the sandbox data.
  • Register new user with registration form
  • Send and handle account confirmation email to verify email address so that we can send bills
  • Delete a user
  • Generate and manage API keys for a user ? So that one user can have multiple API keys and they don't need to send their user account password in each request...Probably with os.urandom(24) as per https://realpython.com/token-based-authentication-with-flask/.

See Ch8 User Authentication (esp New User Registration, Account Confirmation) in Flask Web Development 2e

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named; start by reviewing the existing Flask application structure and the referenced Flask Web Development 2e chapter. The scope must be clarified and decomposed before implementation, with completion covering registration, confirmation email, password rules, roles, deletion, and API-key management.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python
Domain
authentication, authorization, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.