hackforla / food-oasis

Repository for the current redevelopment of the Food Oasis Los Angeles website
https://foodoasis.la
GNU General Public License v2.0
72 stars 51 forks source link

Bug: Data Entry User can get acess to Admin Dashboard #769

Closed entrotech closed 2 years ago

entrotech commented 3 years ago

Overview

Reported by @jpmikesell on 11/7/20:

Information from one of our volunteers, connor.rapermateo@student.csulb.edu
    He pressed back button (while he was in one of his listings) twice and got this link:           https://food-oasis.herokuapp.com/verificationdashboard

He could then see the entire database — exactly what an admin sees.

Action Items

Resources/Instructions

VirginiaWu11 commented 2 years ago

Thanks John for the resource. Keeping it here so I don't lose it: https://ui.dev/react-router-protected-routes-authentication/