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 3c033c4352
Add moderation warnings (#9519)
* Add moderation warnings

Replace individual routes for disabling, silencing, and suspending
a user, as well as the report update route, with a unified account
action controller that allows you to select an action (none,
disable, silence, suspend) as well as whether it should generate an
e-mail notification with optional custom text. That notification,
with the optional custom text, is saved as a warning.

Additionally, there are warning presets you can configure to save
time when performing the above.

* Use Account#local_username_and_domain
6 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 moderation warnings (#9519) 6 years ago
account_warning_preset_policy.rb Add moderation warnings (#9519) 6 years ago
application_policy.rb Account archive download (#6460) 7 years ago
backup_policy.rb Account archive download (#6460) 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
invite_policy.rb Add admin function to deactivate all invites (#8279) 6 years ago
relay_policy.rb Add federation relay support (#7998) 7 years ago
report_note_policy.rb Feature: Report improvements (#6967) (#7000) 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 Improve support for aspects/circles (#8950) 6 years ago
subscription_policy.rb Add moderator role and add pundit policies for admin actions (#5635) 7 years ago
tag_policy.rb Add profile directory (#9427) 6 years ago
user_policy.rb Allow mods to disable login, improve message when login disabled (#8329) 6 years ago