You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/controllers/admin
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
7 years ago
..
account_moderation_notes_controller.rb
accounts_controller.rb
base_controller.rb
confirmations_controller.rb
custom_emojis_controller.rb
domain_blocks_controller.rb
email_domain_blocks_controller.rb
instances_controller.rb
reported_statuses_controller.rb
reports_controller.rb
resets_controller.rb
roles_controller.rb
settings_controller.rb
silences_controller.rb
statuses_controller.rb
subscriptions_controller.rb
suspensions_controller.rb
two_factor_authentications_controller.rb