Merge branch '4869-keepproxy' refs #4869
[arvados.git] / services / api / test / fixtures / logs.yml
1 log1:
2   id: 1
3   uuid: zzzzz-xxxxx-pshmckwoma9plh7
4   object_uuid: zzzzz-tpzed-l1s2piq4t4mps8r
5   event_at: <%= 1.minute.ago.to_s(:db) %>
6
7 log2: # admin changes repository2, which is owned by active user
8   id: 2
9   uuid: zzzzz-xxxxx-pshmckwoma00002
10   owner_uuid: zzzzz-tpzed-d9tiejq69daie8f # admin user
11   object_uuid: zzzzz-2x53u-382brsig8rp3667 # repository foo
12   object_owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz # active user
13   event_at: <%= 2.minute.ago.to_s(:db) %>
14
15 log3: # admin changes specimen owned_by_spectator
16   id: 3
17   uuid: zzzzz-xxxxx-pshmckwoma00003
18   owner_uuid: zzzzz-tpzed-d9tiejq69daie8f # admin user
19   object_uuid: zzzzz-2x53u-3b0xxwzlbzxq5yr # specimen owned_by_spectator
20   object_owner_uuid: zzzzz-tpzed-l1s2piq4t4mps8r # spectator user
21   event_at: <%= 3.minute.ago.to_s(:db) %>
22
23 log4: # foo collection added, readable by active through link
24   id: 4
25   uuid: zzzzz-xxxxx-pshmckwoma00004
26   owner_uuid: zzzzz-tpzed-000000000000000 # system user
27   object_uuid: zzzzz-4zz18-znfnqtbbv4spc3w # foo file
28   object_owner_uuid: zzzzz-tpzed-000000000000000 # system user
29   event_at: <%= 4.minute.ago.to_s(:db) %>
30
31 log5: # baz collection added, readable by active and spectator through group 'all users' group membership
32   id: 5
33   uuid: zzzzz-xxxxx-pshmckwoma00005
34   owner_uuid: zzzzz-tpzed-000000000000000 # system user
35   object_uuid: zzzzz-4zz18-y9vne9npefyxh8g # baz file
36   object_owner_uuid: zzzzz-tpzed-000000000000000 # system user
37   event_at: <%= 5.minute.ago.to_s(:db) %>
38
39 log_owned_by_active:
40   id: 6
41   uuid: zzzzz-xxxxx-pshmckwoma12345
42   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz # active user
43   object_uuid: zzzzz-2x53u-382brsig8rp3667 # repository foo
44   object_owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz # active user
45   event_at: <%= 2.minute.ago.to_s(:db) %>
46   summary: non-admin use can read own logs