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

fix: add role check for /api/usercommons/commons/all #99

Closed publicqi closed 1 year ago

publicqi commented 1 year ago

Overview

In this PR, a role check for endpoint /api/usercommons/commons/all is added. Non-login users should not have the access to it.

See #80 why the check should be necessary.

Screenshots (Optional)

Feedback Request (Optional)

Future Possibilities (Optional)

Validation (Optional)

Tests

Linked Issues

Closes #80