Closed nguyenliliana closed 6 months ago
"Apply to be a Rider" in the Navbar now only shows if user does NOT have ROLE_RIDER.
The ROLE_RIDER was not being granted or taken away when toggled by Admin. This was fixed by adding ROLE_RIDER to RoleInterceptor.java.
Files changed: frontend/src/main/components/Nav/AppNavbar.js src/main/java/edu/ucsb/cs156/gauchoride/interceptors/RoleInterceptor.java
Closes #25
"Apply to be a Rider" in the Navbar now only shows if user does NOT have ROLE_RIDER.
The ROLE_RIDER was not being granted or taken away when toggled by Admin. This was fixed by adding ROLE_RIDER to RoleInterceptor.java.
Files changed: frontend/src/main/components/Nav/AppNavbar.js src/main/java/edu/ucsb/cs156/gauchoride/interceptors/RoleInterceptor.java
Closes #25