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

Implement Admin Functionality #518

Open
ShivanshPlays opened this issue Nov 7, 2024 · 3 comments · Fixed by #546
Open

Implement Admin Functionality #518

ShivanshPlays opened this issue Nov 7, 2024 · 3 comments · Fixed by #546
Assignees
Labels
gssoc-ext GirlScript Summer of Code Extended 2024 hacktoberfest-accepted Hacktoberfest level3 GirlScript Summer of Code Level 3 Issue

Comments

@ShivanshPlays
Copy link
Contributor

ShivanshPlays commented Nov 7, 2024

Description

Issue: Implement Admin Functionality

Description

This issue focuses on implementing the super admin functionality for the website. The goal is to establish a robust backend infrastructure that enables admin users to manage the platform effectively, ensuring better control and oversight over vendor and customer activities.

PR1: #528

  1. ** Admin Role**:

    • Introduce a super admin role within the user management system to distinguish super admins from regular admins and vendors.
    • This role will have elevated privileges to perform various management tasks across the platform.
  2. Login Functionality Page:

    • Implement a secure login mechanism for super admins to access the admin panel.
    • Ensure proper authentication and authorization checks are in place to protect sensitive operations.
  3. Backend Schema Updates:

    • Update the existing database schema to accommodate the new super admin role.
    • This may involve modifications to the user table to include role-based access control.

PR2:
Admin Login with OTP Implementation #529

  1. Add OTP Form: Implement an OTP input form for admin authentication after initial login.
  2. Backend Logic:
    • Create an endpoint to verify admin credentials.
    • Upon successful verification, trigger the OTP form and send an OTP to the admin's email.
  3. Send and Verify OTP:
    • Implement logic to send OTP via email after admin login.
    • Verify OTP submitted by the admin and allow access only if the OTP is correct.

PR3: #546

add admin dashboard page will proper styling and responsiveness

PR4:

modify middleware to protect the admin route from trespassers

PR5:

implement serveractions and API, and connect them to the frontend for dynamic data fetching

PR6:

Add forum overview in which admin can perform read and delete forum

@ShivanshPlays
Copy link
Contributor Author

ShivanshPlays commented Nov 10, 2024

@swarooppatilx the full implementation is not completed, please don't close the issue

@swarooppatilx
Copy link
Owner

@ShivanshPlays yes

@ShivanshPlays
Copy link
Contributor Author

Yes please reopen the issue so that it is visible to all contributors

@swarooppatilx swarooppatilx reopened this Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext GirlScript Summer of Code Extended 2024 hacktoberfest-accepted Hacktoberfest level3 GirlScript Summer of Code Level 3 Issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants