]> cat aescling's git repositories - mastodon.git/commit
Add status destroy authorization to policy (#3453)
authorJack Jennings <jack@standard-library.com>
Tue, 30 May 2017 20:56:31 +0000 (13:56 -0700)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 30 May 2017 20:56:31 +0000 (22:56 +0200)
commit33f669a5f851b4095fb6189147ae0fe6f8343d44
treed62452304cfc4a2a1414ca7f00e0947b4ab34359
parent3576fa0d591db69a1727153a1130ff5bebf37167
Add status destroy authorization to policy (#3453)

* Add status destroy authorization to policy

* Create explicit unreblog status authorization
app/controllers/admin/reported_statuses_controller.rb
app/controllers/api/v1/statuses_controller.rb
app/policies/status_policy.rb
app/services/process_interaction_service.rb
spec/policies/status_policy_spec.rb
spec/services/process_interaction_service_spec.rb