Description:
We need to implement a Super Admin Dashboard for the CEO of the company to manage staff members effectively. The dashboard should have the following features:
Dashboard Overview:
Display a summary of the total number of staff, active staff, and pending accounts.
Create Staff Accounts:
1)Implement a form to create new staff accounts with the following fields:
First Name
Last Name
Email Address
Phone Number (optional)
Role/Position
Upon submission, a random password should be generated for the staff member.
Send Account Details via Email:
2)After creating the account, an email should be sent to the staff member containing their account details:
Email address
Randomly generated password
Use Django's email functionality to handle this.
View/Edit Staff Accounts:
3)Provide a table listing all staff members with options to edit or deactivate their accounts.
Include a search feature to quickly find staff by name or email.
Reset Password:
4)Implement functionality for the super admin to reset a staff member's password and send the new password via email.
Role Management:
5)Allow the super admin to assign roles/permissions to each staff member.
Acceptance Criteria:
The dashboard is accessible only to the super admin.
Staff members receive their account details via email upon creation.
The dashboard provides an intuitive UI for managing staff accounts.
Description:
We need to implement a Super Admin Dashboard for the CEO of the company to manage staff members effectively. The dashboard should have the following features:
Dashboard Overview:
Display a summary of the total number of staff, active staff, and pending accounts.
Create Staff Accounts:
1)Implement a form to create new staff accounts with the following fields:
First Name
Last Name
Email Address
Phone Number (optional)
Role/Position
Upon submission, a random password should be generated for the staff member.
Send Account Details via Email:
2)After creating the account, an email should be sent to the staff member containing their account details:
Email address
Randomly generated password
Use Django's email functionality to handle this.
View/Edit Staff Accounts:
3)Provide a table listing all staff members with options to edit or deactivate their accounts.
Include a search feature to quickly find staff by name or email.
Reset Password:
4)Implement functionality for the super admin to reset a staff member's password and send the new password via email.
Role Management:
5)Allow the super admin to assign roles/permissions to each staff member.
Acceptance Criteria:
The dashboard is accessible only to the super admin.
Staff members receive their account details via email upon creation.
The dashboard provides an intuitive UI for managing staff accounts.