Allow admin to update allow_posting_to_all field in a feed
To test, reset your database with bundle exec rails db:reset
. You can send GET /feeds/2
and see allow_posting_to_all is set to true. PATCH /feeds/2
with { "allowPostingToAll": false }
. Now GET /feeds/2
will have allow_posting_to_all set to false.
Edited by Anthony Shull