readthedocs.org
05b683de - Project: block all actions on spam projects (#12835)

Commit
49 days ago
Project: block all actions on spam projects (#12835) - We were blocking only the dashboard, all other views were accessible by URL - Only the get action was blocked. I changed to override dispatch instead, so the whole view is blocked. - I found that many views were doing some other things first instead of checking if the user is logged in, so moved the PrivateViewMixin to be listed first, we should check for permissions before doing anything. Ref https://github.com/readthedocs/readthedocs.org/issues/12773
Author
Parents
Loading