When the title of a user is changed (by becoming an officer or leaving their role), their session on the site should change. Otherwise, this risks a possible vulnerability.
In addition, we should probably change how we are authenticating admins. I have an inkling that user.is_admin could be spoofed in a request, but I don't know enough about the authentication mechanism to confirm that.
When the title of a user is changed (by becoming an officer or leaving their role), their session on the site should change. Otherwise, this risks a possible vulnerability.
In addition, we should probably change how we are authenticating admins. I have an inkling that
user.is_admin
could be spoofed in a request, but I don't know enough about the authentication mechanism to confirm that.