17119: Merge branch 'master' into 17119-add-filter-groups
[arvados.git] / services / api / test / fixtures / groups.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 public:
6   uuid: zzzzz-j7d0g-it30l961gq3t0oi
7   owner_uuid: zzzzz-tpzed-d9tiejq69daie8f
8   name: Public
9   description: Public Project
10   group_class: project
11
12 public_role:
13   uuid: zzzzz-j7d0g-jt30l961gq3t0oi
14   owner_uuid: zzzzz-tpzed-d9tiejq69daie8f
15   name: Public Role
16   description: Public Role
17   group_class: role
18
19 private:
20   uuid: zzzzz-j7d0g-rew6elm53kancon
21   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
22   name: Private
23   description: Private Project
24   group_class: project
25
26 private_role:
27   uuid: zzzzz-j7d0g-pew6elm53kancon
28   owner_uuid: zzzzz-tpzed-000000000000000
29   name: Private Role
30   description: Private Role
31   group_class: role
32
33 private_and_can_read_foofile:
34   uuid: zzzzz-j7d0g-22xp1wpjul508rk
35   owner_uuid: zzzzz-tpzed-000000000000000
36   name: Private and Can Read Foofile
37   description: Another Private Group
38   group_class: role
39
40 activeandfriends:
41   uuid: zzzzz-j7d0g-swqu6hmi4pa7bk7
42   owner_uuid: zzzzz-tpzed-000000000000000
43   created_at: 2014-08-22 14:02:18.481582707 Z
44   modified_by_client_uuid:
45   modified_by_user_uuid: zzzzz-tpzed-000000000000000
46   modified_at: 2014-08-22 14:02:18.481319501 Z
47   name: Active User and friends
48   description:
49   updated_at: 2014-08-22 14:02:18.481166435 Z
50   group_class: role
51
52 system_group:
53   uuid: zzzzz-j7d0g-000000000000000
54   owner_uuid: zzzzz-tpzed-000000000000000
55   name: System Private
56   description: System-owned Group
57   group_class: role
58
59 public_favorites_project:
60   uuid: zzzzz-j7d0g-publicfavorites
61   owner_uuid: zzzzz-tpzed-000000000000000
62   name: Public favorites
63   description: Public favorites
64   group_class: project
65
66 empty_lonely_group:
67   uuid: zzzzz-j7d0g-jtp06ulmvsezgyu
68   owner_uuid: zzzzz-tpzed-000000000000000
69   name: Empty
70   description: Empty Group
71   group_class: role
72
73 all_users:
74   uuid: zzzzz-j7d0g-fffffffffffffff
75   owner_uuid: zzzzz-tpzed-000000000000000
76   name: All users
77   description: All users
78   group_class: role
79
80 testusergroup_admins:
81   uuid: zzzzz-j7d0g-48foin4vonvc2at
82   owner_uuid: zzzzz-tpzed-000000000000000
83   name: Administrators of a subset of users
84   group_class: role
85
86 aproject:
87   uuid: zzzzz-j7d0g-v955i6s2oi1cbso
88   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
89   created_at: 2014-04-21 15:37:48 -0400
90   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
91   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
92   modified_at: 2014-04-21 15:37:48 -0400
93   updated_at: 2014-04-21 15:37:48 -0400
94   name: A Project
95   description: Test project belonging to active user
96   group_class: project
97
98 asubproject:
99   uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
100   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
101   created_at: 2014-04-21 15:37:48 -0400
102   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
103   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
104   modified_at: 2014-04-21 15:37:48 -0400
105   updated_at: 2014-04-21 15:37:48 -0400
106   name: A Subproject
107   description: "Test project belonging to active user's first test project"
108   group_class: project
109
110 afiltergroup:
111   uuid: zzzzz-j7d0g-thisfiltergroup
112   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
113   created_at: 2014-04-21 15:37:48 -0400
114   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
115   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
116   modified_at: 2014-04-21 15:37:48 -0400
117   updated_at: 2014-04-21 15:37:48 -0400
118   name: This filter group
119   group_class: filter
120   properties:
121     filters: [[ "collections.name", "like", "baz%" ], [ "groups.name", "=", "A Subproject" ]]
122
123 afiltergroup2:
124   uuid: zzzzz-j7d0g-afiltergrouptwo
125   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
126   created_at: 2014-04-21 15:37:48 -0400
127   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
128   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
129   modified_at: 2014-04-21 15:37:48 -0400
130   updated_at: 2014-04-21 15:37:48 -0400
131   name: A filter group without filters
132   group_class: filter
133   properties:
134     filters: []
135
136 afiltergroup3:
137   uuid: zzzzz-j7d0g-filtergroupthre
138   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
139   created_at: 2014-04-21 15:37:48 -0400
140   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
141   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
142   modified_at: 2014-04-21 15:37:48 -0400
143   updated_at: 2014-04-21 15:37:48 -0400
144   name: A filter group with an is_a collection filter
145   group_class: filter
146   properties:
147     filters: [["uuid", "is_a", "arvados#collection"]]
148
149 future_project_viewing_group:
150   uuid: zzzzz-j7d0g-futrprojviewgrp
151   owner_uuid: zzzzz-tpzed-000000000000000
152   created_at: 2014-04-21 15:37:48 -0400
153   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
154   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
155   modified_at: 2014-04-21 15:37:48 -0400
156   updated_at: 2014-04-21 15:37:48 -0400
157   name: Future Project Viewing Group
158   description: "Group used to test granting Group Project viewing"
159   group_class: role
160
161 bad_group_has_ownership_cycle_a:
162   uuid: zzzzz-j7d0g-cx2al9cqkmsf1hs
163   owner_uuid: zzzzz-j7d0g-0077nzts8c178lw
164   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
165   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
166   created_at: 2014-05-03 18:50:08 -0400
167   modified_at: 2014-05-03 18:50:08 -0400
168   updated_at: 2014-05-03 18:50:08 -0400
169   name: Owned by bad group b
170   group_class: project
171
172 bad_group_has_ownership_cycle_b:
173   uuid: zzzzz-j7d0g-0077nzts8c178lw
174   owner_uuid: zzzzz-j7d0g-cx2al9cqkmsf1hs
175   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
176   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
177   created_at: 2014-05-03 18:50:08 -0400
178   modified_at: 2014-05-03 18:50:08 -0400
179   updated_at: 2014-05-03 18:50:08 -0400
180   name: Owned by bad group a
181   group_class: project
182
183 anonymous_group:
184   uuid: zzzzz-j7d0g-anonymouspublic
185   owner_uuid: zzzzz-tpzed-000000000000000
186   name: Anonymous users
187   group_class: role
188   description: Anonymous users
189
190 anonymously_accessible_project:
191   uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
192   owner_uuid: zzzzz-tpzed-d9tiejq69daie8f
193   name: Unrestricted public data
194   group_class: project
195   description: An anonymously accessible project
196
197 subproject_in_anonymous_accessible_project:
198   uuid: zzzzz-j7d0g-mhtfesvgmkolpyf
199   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
200   created_at: 2014-04-21 15:37:48 -0400
201   name: Subproject in anonymous accessible project
202   description: Description for subproject in anonymous accessible project
203   group_class: project
204
205 active_user_has_can_manage:
206   uuid: zzzzz-j7d0g-ptt1ou6a9lxrv07
207   owner_uuid: zzzzz-tpzed-d9tiejq69daie8f
208   name: Active user has can_manage
209   group_class: project
210
211 # Group for testing granting permission between users who share a group.
212 group_for_sharing_tests:
213   uuid: zzzzz-j7d0g-t4ucgncwteul7zt
214   owner_uuid: zzzzz-tpzed-000000000000000
215   name: Group for sharing tests
216   description: Users who can share objects with each other
217   group_class: role
218
219 project_owned_by_foo:
220   uuid:  zzzzz-j7d0g-lsjm0ibr0ydwpzx
221   owner_uuid: zzzzz-tpzed-81hsbo6mk8nl05c
222   created_at: 2014-02-03T17:22:54Z
223   modified_at: 2014-02-03T17:22:54Z
224   name: project_owned_by_foo
225   group_class: project
226
227 empty_project:
228   uuid: zzzzz-j7d0g-9otoxmrksam74q6
229   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
230   created_at: 2014-12-16 15:56:27.967534940 Z
231   modified_by_client_uuid: ~
232   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
233   modified_at: 2014-12-16 15:56:27.967358199 Z
234   name: Empty project
235   description: ~
236   updated_at: 2014-12-16 15:56:27.967242142 Z
237   group_class: project
238
239 project_with_10_collections:
240   uuid: zzzzz-j7d0g-0010collections
241   owner_uuid: zzzzz-tpzed-user1withloadab
242   created_at: 2014-04-21 15:37:48 -0400
243   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
244   modified_by_user_uuid: zzzzz-tpzed-user1withloadab
245   modified_at: 2014-04-21 15:37:48 -0400
246   updated_at: 2014-04-21 15:37:48 -0400
247   name: project with 10 collections
248   description: This will result in one page in the display
249   group_class: project
250
251 project_with_201_collections:
252   uuid: zzzzz-j7d0g-0201collections
253   owner_uuid: zzzzz-tpzed-user1withloadab
254   created_at: 2014-04-21 15:37:48 -0400
255   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
256   modified_by_user_uuid: zzzzz-tpzed-user1withloadab
257   modified_at: 2014-04-21 15:37:48 -0400
258   updated_at: 2014-04-21 15:37:48 -0400
259   name: project with 201 collections
260   description: This will result in two pages in the display
261   group_class: project
262
263 project_with_10_pipelines:
264   uuid: zzzzz-j7d0g-000010pipelines
265   owner_uuid: zzzzz-tpzed-user1withloadab
266   created_at: 2014-04-21 15:37:48 -0400
267   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
268   modified_by_user_uuid: zzzzz-tpzed-user1withloadab
269   modified_at: 2014-04-21 15:37:48 -0400
270   updated_at: 2014-04-21 15:37:48 -0400
271   name: project with 10 pipelines
272   description: project with 10 pipelines
273   group_class: project
274
275 project_with_2_pipelines_and_60_crs:
276   uuid: zzzzz-j7d0g-nnncrspipelines
277   owner_uuid: zzzzz-tpzed-user1withloadab
278   created_at: 2014-04-21 15:37:48 -0400
279   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
280   modified_by_user_uuid: zzzzz-tpzed-user1withloadab
281   modified_at: 2014-04-21 15:37:48 -0400
282   updated_at: 2014-04-21 15:37:48 -0400
283   name: project with 2 pipelines and 60 crs
284   description: This will result in two pages in the display
285   group_class: project
286
287 project_with_25_pipelines:
288   uuid: zzzzz-j7d0g-000025pipelines
289   owner_uuid: zzzzz-tpzed-user1withloadab
290   created_at: 2014-04-21 15:37:48 -0400
291   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
292   modified_by_user_uuid: zzzzz-tpzed-user1withloadab
293   modified_at: 2014-04-21 15:37:48 -0400
294   updated_at: 2014-04-21 15:37:48 -0400
295   name: project with 25 pipelines
296   description: project with 25 pipelines
297   group_class: project
298
299 fuse_owned_project:
300   uuid: zzzzz-j7d0g-0000ownedbyfuse
301   owner_uuid: zzzzz-tpzed-0fusedrivertest
302   created_at: 2014-04-21 15:37:48 -0400
303   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
304   modified_by_user_uuid: zzzzz-tpzed-0fusedrivertest
305   modified_at: 2014-04-21 15:37:48 -0400
306   updated_at: 2014-04-21 15:37:48 -0400
307   name: FUSE Test Project
308   description: Test project belonging to FUSE test user
309   group_class: project
310
311 # This wouldn't pass model validation, but it enables a workbench
312 # infinite-loop test. See #4389
313 project_owns_itself:
314   uuid: zzzzz-j7d0g-7rqh7hdshd5yp5t
315   owner_uuid: zzzzz-j7d0g-7rqh7hdshd5yp5t
316   created_at: 2014-11-05 22:31:24.258424340 Z
317   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
318   modified_by_user_uuid: 6pbr1-tpzed-000000000000000
319   modified_at: 2014-11-05 22:31:24.258242890 Z
320   name: zzzzz-j7d0g-7rqh7hdshd5yp5t
321   description: ~
322   updated_at: 2014-11-05 22:31:24.258093171 Z
323   group_class: project
324
325 # Used to test renaming when removed from the "asubproject" while
326 # another such object with same name exists in home project.
327 subproject_in_active_user_home_project_to_test_unique_key_violation:
328   uuid: zzzzz-j7d0g-subprojsamenam1
329   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
330   created_at: 2013-04-21 15:37:48 -0400
331   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
332   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
333   modified_at: 2013-04-21 15:37:48 -0400
334   updated_at: 2013-04-21 15:37:48 -0400
335   name: Subproject to test owner uuid and name unique key violation upon removal
336   description: Subproject in active user home project to test owner uuid and name unique key violation upon removal
337   group_class: project
338
339 subproject_in_asubproject_with_same_name_as_one_in_active_user_home:
340   uuid: zzzzz-j7d0g-subprojsamenam2
341   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
342   created_at: 2013-04-21 15:37:48 -0400
343   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
344   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
345   modified_at: 2013-04-21 15:37:48 -0400
346   updated_at: 2013-04-21 15:37:48 -0400
347   name: Subproject to test owner uuid and name unique key violation upon removal
348   description: "Removing this will result in name conflict with 'A project' in Home project and hence get renamed."
349   group_class: project
350
351 starred_and_shared_active_user_project:
352   uuid: zzzzz-j7d0g-starredshared01
353   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
354   created_at: 2014-04-21 15:37:48 -0400
355   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
356   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
357   modified_at: 2014-04-21 15:37:48 -0400
358   updated_at: 2014-04-21 15:37:48 -0400
359   name: Starred and shared active user project
360   description: Starred and shared active user project
361   group_class: project
362
363 trashed_project:
364   uuid: zzzzz-j7d0g-trashedproject1
365   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
366   name: trashed project
367   group_class: project
368   trash_at: 2001-01-01T00:00:00Z
369   delete_at: 2008-03-01T00:00:00Z
370   is_trashed: true
371   modified_at: 2001-01-01T00:00:00Z
372
373 trashed_subproject:
374   uuid: zzzzz-j7d0g-trashedproject2
375   owner_uuid: zzzzz-j7d0g-trashedproject1
376   name: trashed subproject
377   group_class: project
378   is_trashed: false
379   modified_at: 2001-01-01T00:00:00Z
380
381 trashed_subproject3:
382   uuid: zzzzz-j7d0g-trashedproject3
383   owner_uuid: zzzzz-j7d0g-trashedproject1
384   name: trashed subproject 3
385   group_class: project
386   trash_at: 2001-01-01T00:00:00Z
387   delete_at: 2038-03-01T00:00:00Z
388   is_trashed: true
389   modified_at: 2001-01-01T00:00:00Z
390
391 trashed_on_next_sweep:
392   uuid: zzzzz-j7d0g-soontobetrashed
393   owner_uuid: zzzzz-j7d0g-xurymjxw79nv3jz
394   name: soon to be trashed project
395   group_class: project
396   trash_at: 2001-01-01T00:00:00Z
397   delete_at: 2038-03-01T00:00:00Z
398   is_trashed: false
399   modified_at: 2001-01-01T00:00:00Z