dwyl / auth

🚪 🔐 UX-focussed Turnkey Authentication Solution for Web Apps/APIs (Documented, Tested & Maintained)
https://authdemo.fly.dev
GNU General Public License v2.0
135 stars 9 forks source link

Restrict Who Can See List of People in Prod #171

Open nelsonic opened 2 years ago

nelsonic commented 2 years ago

At present, a non-admin person can see the complete list of people who have authenticated with auth on our test version: https://dwylauth.herokuapp.com/people

image

This is a useful feature during development because we can immediately see who has logged in & when. but ... It's obviously undesirable as it's "leaking" Personally Identifiable Information (PII) Even though this is a Test System, we still don't want to let anyone see who has authenticated. So I propose we restrict the data visible in this view to only the admin of the App and superadmin.