Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix link edit/delete buttons showing when not logged in (#1086)
## Fixes issue Fixes #1085 ## Description of Changes This is a cherry-pick of OrcaCollective#403 --- Currently, the link edit and delete buttons show up on the officer page when visiting as an anonymous user. (see: https://openoversight.com/officers/83835) This is NOT a security issue as the user is asked to log in after clicking the link but may be confusing to users. ## Notes for Deployment None! ## Screenshots (if appropriate) N/A ## Tests and linting - [x] This branch is up-to-date with the `develop` branch. - [x] `pytest` passes on my local development environment. - [x] `pre-commit` passes on my local development environment.
- Loading branch information