mastodon/app/policies
Eugen Rochko 413a28499d Allow mods to disable login, improve message when login disabled ()
* Allow moderators to disable/enable login

* Instead of rejecting login, show forbidden error when login disabled

Avoid confusion because when login is rejected, the message is that
the account is not activated, which is wrong.

* Fix tests
2018-08-23 23:26:29 +02:00
..
account_moderation_note_policy.rb Add moderator role and add pundit policies for admin actions () 2017-11-11 20:23:33 +01:00
account_policy.rb Implement the ability for an Administrator or Moderator to remove an account avatar () 2018-04-02 13:45:07 +02:00
application_policy.rb Account archive download () 2018-02-21 23:21:32 +01:00
backup_policy.rb Account archive download () 2018-02-21 23:21:32 +01:00
custom_emoji_policy.rb Add moderator role and add pundit policies for admin actions () 2017-11-11 20:23:33 +01:00
domain_block_policy.rb Add moderator role and add pundit policies for admin actions () 2017-11-11 20:23:33 +01:00
email_domain_block_policy.rb Add moderator role and add pundit policies for admin actions () 2017-11-11 20:23:33 +01:00
instance_policy.rb Add moderator role and add pundit policies for admin actions () 2017-11-11 20:23:33 +01:00
invite_policy.rb Add admin function to deactivate all invites () 2018-08-19 00:58:53 +02:00
relay_policy.rb Add federation relay support () 2018-07-13 02:16:06 +02:00
report_note_policy.rb Feature: Report improvements () () 2018-04-02 22:04:14 +02:00
report_policy.rb Add moderator role and add pundit policies for admin actions () 2017-11-11 20:23:33 +01:00
settings_policy.rb Add moderator role and add pundit policies for admin actions () 2017-11-11 20:23:33 +01:00
status_policy.rb Fix n+1 queries in StatusThreadingConcern () 2018-05-03 10:41:58 +02:00
subscription_policy.rb Add moderator role and add pundit policies for admin actions () 2017-11-11 20:23:33 +01:00
user_policy.rb Allow mods to disable login, improve message when login disabled () 2018-08-23 23:26:29 +02:00