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/policies
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_note_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
account_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
application_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
custom_emoji_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
domain_block_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
email_domain_block_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
instance_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
report_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
settings_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
status_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
subscription_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
user_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago