Skip to content

FEATURE: Add a Moderator User Page for Admins to the Frontend #109

Description

@divyanipunj

Complete this after issue FEATURE: Adding a Moderator Role to the Backend..

Once the /api/admin/moderators endpoints are fixed, we need a frontend page for Admins to add moderators that uses those endpoints.

Currently (no page under Admin for Moderators) :
Image

Implementation details: This has already been implemented in Frontiers. You can start by checking out: frontend/src/main/pages/Admin/AdminsCreatePage.jsx. You can also explore this codebase to find a structure for the stories, tests, and adding the page to navigation bar.

A/C:

  • There is a new page under the admin tab (i.e. ModeratorCreatePage.jsx) that is modeled after AdminsCreatePage.jsx.
  • There are stories and tests implemented modeled after the corresponding files in Frontiers.

If you have any questions about this issue feel free to ask me or any of the teaching staff about it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions