Skip to content

admin dashboard redirection and admin management page #4

Description

@shadil-rayyan

Currently, after logging in, all users—whether they are admins or not—are redirected to the home page. However, admins should be taken to a separate Admin Dashboard, where they can edit all the posts or projects on the website.

To achieve this, use Firebase or Firestore to check whether a user has admin privileges. If the user is an admin, they should be redirected to the Admin Dashboard instead of the home page. If they are a regular user, they should proceed to the home page as usual.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions