day-cohort-70 / rare-api-superawesometeamname

rare-api-superawesometeamname created by GitHub Classroom
0 stars 0 forks source link

View All User Profiles #22

Closed Valerie-Freeman closed 4 months ago

Valerie-Freeman commented 5 months ago

As an admin, I would like to see a list of all the User Profiles so that I can keep track of who is using the system.

Given the user is an admin in the Rare application
When they select the User Profiles menu option
Then they should be directed to the User Profiles list page
And each user in the list should display the full name, the display name and the user type. And the list should be in ordered alphabetically by user display name

Technical note: For a user to be considered an admin, the is_staff property on the related Django User must be set to True. An efficient way to do this for the project is to create 2 user fixtures that you can use to seed your database. One user will be a regular author, and the other will be an admin.