ucsb-cs156-m23 / proj-happycows-m23-10am-4

https://ucsb-cs156-m23.github.io/proj-happycows-m23-10am-4/
0 stars 1 forks source link

Hide user frontend (NEW) #101

Closed publicqi closed 1 year ago

publicqi commented 1 year ago

Overview

This PR extracts the frontend part of #86. It's a smaller PR now. The changes include :

See https://ucsb-cs156-m23.github.io/proj-happycows-m23-10am-4/prs/101/storybook/?path=/story/components-users-userstable--three-users

Screenshots (Optional)

Hide/Unhide user page

image

Admin can hide/unhide users

image

A hidden user cannot do any operation (see backend checks). All endpoints with "ROLE_USER" are disabled.

Feedback Request (Optional)

Future Possibilities (Optional)

Validation (Optional)

Tests

Linked Issues

Closes #48