afup / haphpy-birthday

Website for PHP 20th anniversary video
http://haphpy-birthday.net
MIT License
22 stars 43 forks source link

Make anonymous contributions 404 for other users #105

Open woecifaun opened 9 years ago

woecifaun commented 9 years ago

:warning: Starting to work on this issue? Please indicate it in a comment below to prevent many people working on same stuff at the same moment. Thanks.

Currently, if someone knows the auth provider (e.g. GitHub, Facebook or Twitter) and the unique identifier of a contributor, s·he can rebuild the route to see the contribution.

When the contribution is anonymous page to contribution {locale}/contribution/{authoProviderId}/{identifier} must return a 404 HTTP code to every user but the contributor and admins.