- Added object_owner_uuid to logs table, which records the owner of the object
authorPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 23 Apr 2014 14:57:31 +0000 (10:57 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 23 Apr 2014 14:57:31 +0000 (10:57 -0400)
commit923e2bd7d962f1a0feefc73ae4f4531c8235a591
treecd6b9f26d5326cc1f06f48e2fcf9422f0afde1a5
parent04cc77648cc62c73433801475c27ede4ceb76c8b
- Added object_owner_uuid to logs table, which records the owner of the object
  being described at the time of the log entry.  Added migration.

- Added special case permission checks for reading logs table, and added
  documentation comments on how permission checks work.

- Eventbus reuses readable_by and record_filters in determining what to publish
  so provide consistent behavior between eventbus and regular API queries.

- Put most of apply_where_limit_order_params back into application_controller,
  refactored record_filters into lib/

- All of this still needs testing.
services/api/app/controllers/application_controller.rb
services/api/app/models/arvados_model.rb
services/api/app/models/log.rb
services/api/db/migrate/20140423132913_add_object_owner_to_logs.rb [new file with mode: 0644]
services/api/db/schema.rb
services/api/lib/eventbus.rb
services/api/lib/record_filters.rb