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

Improve User Management with Enhanced Role Management #178

Open
deepaksuresh2411 opened this issue Apr 2, 2024 · 0 comments
Open

Improve User Management with Enhanced Role Management #178

deepaksuresh2411 opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
feature New feature request

Comments

@deepaksuresh2411
Copy link
Contributor

Description

This issue involves refactoring the user model and introducing utility functions to enhance user management capabilities.

Background

The current user model lacks efficient role management capabilities and utility functions for user-related operations. By enhancing the user model with utility functions and introducing a role management system, we aim to improve user management processes.

Feature Details

Utility Functions for User Model

  • Implement utility methods such as is_user_active, add_roles, update_roles, remove_roles, has_role, activate_role, deactivate_role, and filter_users within the user model.
  • These methods will provide essential functionalities for managing user accounts, roles, and status efficiently.

User-Role Mapping Model

  • Introduce a separate Role Mapping model to facilitate role activation and deactivation for users.
  • This gives flexibility and control in user-role management.
@deepaksuresh2411 deepaksuresh2411 added the feature New feature request label Apr 2, 2024
@deepaksuresh2411 deepaksuresh2411 self-assigned this Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant