Skip to content

DEV - Create User Page for Admin #172

@lyannne

Description

@lyannne

Description: This semester, we're adding a new page that allows all admin users to view accounts. They will be able to view current accounts and change permissions, as well as approve or deny incoming account requests. The goal of this ticket is to create this page and begin implementing the new design.

Design:

Image Image

User Story: As an admin, I can click the person icon in the upper right corner and access the user page through an option in the dropdown. After clicking that option, I will be taken to the page with the "current users" tab selected. From here, I can change the permissions of any approved user. If I change the tab to "pending users", the page will change to display pending users, and here, I will be able to approve or deny users.

Success Criteria:

  • New option added to dropdown to access page, labelled "all users" (this page should only be accessible to admins, but this restricted access will implemented in the future, probably by Ben)
  • Tabs are implemented to switch between current users and pending users, and switching tabs also changes the main text on the page accordingly.
  • OPTIONAL: If you have lots of extra time, please make the component to display the users as well! This includes the user's name, email, and position for approved users (NO USERID). For pending users, this includes the user's name, email, position (set to inactive by default since they're waiting on approval), date requested, and the buttons to approve or deny a user.
  • EDIT: ADD PAGINATION

Metadata

Metadata

Assignees

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