not see Apply to be a rider in the Nav bar if I am already a rider
So that...
user knows they are a rider/does not need to submit the application to be a rider
Discussion
Right now, any user with the role: ROLE_MEMBER will see an "Apply to be a rider" in the NavBar.
However, if a user/admin toggles their rider status and reloads the tab, the "Apply to be a rider" still shows up in the NavBar. THIS NEEDS TO BE CHANGED
Acceptance Criteria
[ ] Only Users without the role ROLE_RIDER should see "Apply to be a rider" in the NavBar (currently implemented already), but make sure it is preserved after changes.
[ ] Users that have the role ROLE_RIDER should NOT see "Apply to be a rider" in the NavBar
Implementation Todos
Frontend:
[ ] NavBar.js should be edited to display the "Apply to be a rider" ONLY if the user does not have role: ROLE_RIDER
Testing:
[ ] Front end tests pass and there is adequate coverage (line and mutation)
As a...
admin or non-admin user
I can...
not see Apply to be a rider in the Nav bar if I am already a rider
So that...
user knows they are a rider/does not need to submit the application to be a rider
Discussion
Right now, any user with the role: ROLE_MEMBER will see an "Apply to be a rider" in the NavBar.
However, if a user/admin toggles their rider status and reloads the tab, the "Apply to be a rider" still shows up in the NavBar. THIS NEEDS TO BE CHANGED
Acceptance Criteria
Implementation Todos
Frontend:
Testing: