mirror of
https://github.com/mastodon/mastodon
synced 2025-04-12 00:56:38 +02:00

Previously these returns 302 redirects instead of 403s, which meant posting links to admin pages in slack caused them to unfurl, rather than stay as a link. Additionally, require_admin! doesn't appear to be actively used, on require_staff!