X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8048da32800fab790b68f502c52dd00c89b5b690..4e1dda28351f6b7aa91aa6baca8805e283f2694b:/services/api/test/fixtures/logs.yml diff --git a/services/api/test/fixtures/logs.yml b/services/api/test/fixtures/logs.yml index d805439a6c..d95177a91a 100644 --- a/services/api/test/fixtures/logs.yml +++ b/services/api/test/fixtures/logs.yml @@ -1,3 +1,37 @@ log1: + id: 1 uuid: zzzzz-xxxxx-pshmckwoma9plh7 - object_uuid: zzzzz-tpzed-l1s2piq4t4mps8r \ No newline at end of file + object_uuid: zzzzz-tpzed-l1s2piq4t4mps8r + event_at: <%= 1.minute.ago.to_s(:db) %> + +log2: # admin changes repository2, which is owned by active user + id: 2 + uuid: zzzzz-xxxxx-pshmckwoma00002 + owner_uuid: zzzzz-tpzed-d9tiejq69daie8f # admin user + object_uuid: zzzzz-2x53u-382brsig8rp3667 # repository foo + object_owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz # active user + event_at: <%= 2.minute.ago.to_s(:db) %> + +log3: # admin changes specimen owned_by_spectator + id: 3 + uuid: zzzzz-xxxxx-pshmckwoma00003 + owner_uuid: zzzzz-tpzed-d9tiejq69daie8f # admin user + object_uuid: zzzzz-2x53u-3b0xxwzlbzxq5yr # specimen owned_by_spectator + object_owner_uuid: zzzzz-tpzed-l1s2piq4t4mps8r # spectator user + event_at: <%= 3.minute.ago.to_s(:db) %> + +log4: # foo collection added, readable by active through link + id: 4 + uuid: zzzzz-xxxxx-pshmckwoma00004 + owner_uuid: zzzzz-tpzed-000000000000000 # system user + object_uuid: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 # foo file + object_owner_uuid: zzzzz-tpzed-000000000000000 # system user + event_at: <%= 4.minute.ago.to_s(:db) %> + +log5: # baz collection added, readable by active and spectator through group 'all users' group membership + id: 5 + uuid: zzzzz-xxxxx-pshmckwoma00005 + owner_uuid: zzzzz-tpzed-000000000000000 # system user + object_uuid: ea10d51bcf88862dbcc36eb292017dfd+45 # baz file + object_owner_uuid: zzzzz-tpzed-000000000000000 # system user + event_at: <%= 5.minute.ago.to_s(:db) %>