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

Add user management #3

Open
daniel-orlov opened this issue Jul 26, 2023 · 0 comments
Open

Add user management #3

daniel-orlov opened this issue Jul 26, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@daniel-orlov
Copy link
Owner

Is your feature request related to a problem? Please describe.
Currently, the server lacks a dedicated user service and user storage system. As the number of users grows, it becomes challenging to manage user-related operations, such as user registration, authentication, profile management, and access control. This leads to code duplication, potential security vulnerabilities, and difficulties in maintaining user data consistency.

Describe the solution you'd like
I would like to propose the addition of a user service and user storage module to the server. The user service will act as the central component responsible for handling user-related operations, while the user storage module will manage the persistence and retrieval of user data.

The user service should offer the following functionalities:

  1. User registration: Allows new users to sign up and create an account.
  2. User authentication: Provides secure authentication mechanisms for users to access their accounts.
  3. Profile management: Enables users to update their profiles, including personal information, preferences, and settings.
  4. Access control: Implements role-based access control to manage permissions for different user types (e.g., admin, regular user).
  5. Password management: Includes features like password reset and password strength requirements to enhance security.
  6. User search and retrieval: Supports searching for users based on specific criteria.

The user storage module should be responsible for securely storing and retrieving user data, including user credentials, profiles, and related information. It should integrate with the database or any other data storage system to ensure data persistence.

Describe alternatives you've considered
Without a dedicated user service and user storage, user-related functionality might be scattered across different parts of the server codebase. However, implementing a separate user service can lead to better code organization, easier maintenance, and improved security.

Additional context
The whole functionality doesn't have to be implemented in one go, so feel free to break it down into smaller deliverables as needed.

@daniel-orlov daniel-orlov added the enhancement New feature or request label Jul 26, 2023
@daniel-orlov daniel-orlov self-assigned this Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant