api: Have users own the logs they generate.
authorBrett Smith <brett@curoverse.com>
Thu, 10 Apr 2014 15:43:55 +0000 (11:43 -0400)
committerBrett Smith <brett@curoverse.com>
Thu, 10 Apr 2014 15:43:55 +0000 (11:43 -0400)
commit44df50add91dc3117291e3a6a908fa442b883106
treecff031219b34d2fceadf95be1c5d10e770ce5881
parentbb3b70b2435a0886b4a2ace9070e24903b04c8a9
api: Have users own the logs they generate.

Setting the owner to the system user was intended to provide the
security policy we wanted.  Now that we've opted instead to give logs
overrides for the permission_to_ACTION methods, users should own their
own logs so they can read them.
services/api/app/models/log.rb
services/api/test/functional/arvados/v1/logs_controller_test.rb
services/api/test/unit/log_test.rb