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