generated from freeCodeCamp/template
-
-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Copy link
Labels
good first issueGood for newcomersGood for newcomers
Description
The admin page currently displays ALL users in the prisma database. We believe the prisma database will be very large when the Classroom app is deployed, so a search feature to look for a user by name, email, or role would be a helpful addition.
Original admin table:
Steps to recreate the issue:
- Make sure you can successfully log in via Github (use the Github sign-in option, not Auth0)
- Run "npx prisma studio" in the terminal, navigate to the "Users" table, change the role of your user to "ADMIN"
- Make sure you click "Save changes" in prisma studio
- Sign out of the Classroom app and then sign back in
- Navigate to the /admin page (type this into the browser)
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers