mastodon/app/controllers
Eugen Rochko 7bb8b0b2fc
Add moderator role and add pundit policies for admin actions (#5635)
* Add moderator role and add pundit policies for admin actions

* Add rake task for turning user into mod and revoking it again

* Fix handling of unauthorized exception

* Deliver new report e-mails to staff, not just admins

* Add promote/demote to admin UI, hide some actions conditionally

* Fix unused i18n
2017-11-11 20:23:33 +01:00
..
activitypub
…
admin Add moderator role and add pundit policies for admin actions (#5635) 2017-11-11 20:23:33 +01:00
api Add moderator role and add pundit policies for admin actions (#5635) 2017-11-11 20:23:33 +01:00
auth
…
concerns Add moderator role and add pundit policies for admin actions (#5635) 2017-11-11 20:23:33 +01:00
oauth
…
settings
…
well_known
…
about_controller.rb
…
account_follow_controller.rb
…
account_unfollow_controller.rb
…
accounts_controller.rb
…
application_controller.rb Add moderator role and add pundit policies for admin actions (#5635) 2017-11-11 20:23:33 +01:00
authorize_follows_controller.rb
…
emojis_controller.rb
…
follower_accounts_controller.rb
…
following_accounts_controller.rb
…
home_controller.rb
…
intents_controller.rb
…
manifests_controller.rb
…
media_controller.rb
…
media_proxy_controller.rb
…
remote_follow_controller.rb
…
shares_controller.rb
…
statuses_controller.rb
…
stream_entries_controller.rb
…
tags_controller.rb
…