mastodon/spec/controllers
Emelia Smith 2e59751823 Improve require_admin! and require_staff! filters (#7018)
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!
2018-04-03 13:07:32 +02:00
..
activitypub
…
admin Improve require_admin! and require_staff! filters (#7018) 2018-04-03 13:07:32 +02:00
api
…
auth
…
concerns
…
oauth
…
settings
…
well_known
…
about_controller_spec.rb
…
account_follow_controller_spec.rb
…
account_unfollow_controller_spec.rb
…
accounts_controller_spec.rb
…
application_controller_spec.rb Improve require_admin! and require_staff! filters (#7018) 2018-04-03 13:07:32 +02:00
authorize_follows_controller_spec.rb
…
follower_accounts_controller_spec.rb
…
following_accounts_controller_spec.rb
…
home_controller_spec.rb Redirect from Web tag timeline to public tag timeline if not signed in (#6633) 2018-03-05 19:29:36 +01:00
manifests_controller_spec.rb
…
media_controller_spec.rb
…
remote_follow_controller_spec.rb
…
statuses_controller_spec.rb
…
stream_entries_controller_spec.rb
…
tags_controller_spec.rb
…