ChaelCodes / MeetAnotherDay

An app to help you find and meet up with your friends at conferences.
MIT License
35 stars 20 forks source link

Protect Profiles on the Index #119

Closed ChaelCodes closed 2 years ago

ChaelCodes commented 2 years ago

Description of Feature or Issue

closes # No issue >_>

Previously, we protected the profile from unauthorized access on the show page, but it was still visible on the index. Users would click on a profile, and it would flash a banner saying "You are not authorized to perform this action." image of error banner Now, we hide those profiles from the Index page entirely.

Admins still see all profiles.

Checklist

User-Facing Changes

Banner into profiles that are not shown.