]> git.openstreetmap.org Git - rails.git/commit
Disable redactions with write_api scope
authorAnton Khorev <tony29@yandex.ru>
Sun, 8 Sep 2024 09:31:31 +0000 (12:31 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sun, 8 Sep 2024 09:31:31 +0000 (12:31 +0300)
commit8b024f48c1debe5de4bc8819962c783af2e404f9
tree42d6e27ef2f79f67561bba7d735d55fbf0edf0af
parent1fce0c00f12ac6bbb56ad7c05c8c9f53c0d6edb3
Disable redactions with write_api scope

Requires write_redactions scope to redact. Previously it was possible to redact with either write_redactions or write_api.
app/abilities/api_capability.rb
test/controllers/api/old_nodes_controller_test.rb
test/controllers/api/old_relations_controller_test.rb
test/controllers/api/old_ways_controller_test.rb