15828: Configured workbench is a "trusted client" by default
authorPeter Amstutz <pamstutz@veritasgenetics.com>
Thu, 14 Nov 2019 02:36:27 +0000 (21:36 -0500)
committerPeter Amstutz <pamstutz@veritasgenetics.com>
Thu, 14 Nov 2019 02:36:27 +0000 (21:36 -0500)
commitacb8ea09b9d699bb5c955a5279a0aca2e0906c39
tree49854763335a47f984ef3b9778526aba63286036
parent4971e4c02df33e279e123330167d02d0b6041e81
15828: Configured workbench is a "trusted client" by default

Sidestep an installation sinkhole that almost everyone seems to fall into.

This makes it so it is no longer necessary to explicitly set
"is_trusted" on an api_client record for the system configured
Workbench instances to solve the "client cannot manipulate other's
tokens" permission error.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>
services/api/app/models/api_client.rb
services/api/test/unit/api_client_test.rb