18874: Merge branch 'main' from arvados-workbench2.git
[arvados.git] / services / api / test / fixtures / users.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
6
7 system_user:
8   uuid: zzzzz-tpzed-000000000000000
9   owner_uuid: zzzzz-tpzed-000000000000000
10   created_at: 2014-11-27 06:38:21.215463000 Z
11   modified_by_client_uuid: zzzzz-ozdt8-teyxzyd8qllg11h
12   modified_by_user_uuid: zzzzz-tpzed-000000000000000
13   modified_at: 2014-11-27 06:38:21.208036000 Z
14   email: root
15   first_name: root
16   last_name: ''
17   identity_url:
18   is_admin: true
19   prefs: {}
20   updated_at: 2014-11-27 06:38:21.207873000 Z
21   is_active: true
22
23 admin:
24   owner_uuid: zzzzz-tpzed-000000000000000
25   uuid: zzzzz-tpzed-d9tiejq69daie8f
26   email: admin@arvados.local
27   first_name: TestCase
28   last_name: Administrator
29   identity_url: https://admin.openid.local
30   is_active: true
31   is_admin: true
32   username: admin
33   prefs:
34     profile:
35       organization: example.com
36       role: IT
37     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
38
39 miniadmin:
40   owner_uuid: zzzzz-tpzed-000000000000000
41   uuid: zzzzz-tpzed-2bg9x0oeydcw5hm
42   email: miniadmin@arvados.local
43   first_name: TestCase
44   last_name: User Group Administrator
45   identity_url: https://miniadmin.openid.local
46   is_active: true
47   is_admin: false
48   username: miniadmin
49   prefs:
50     profile:
51       organization: example.com
52       role: IT
53     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
54
55 rominiadmin:
56   owner_uuid: zzzzz-tpzed-000000000000000
57   uuid: zzzzz-tpzed-4hvxm4n25emegis
58   email: rominiadmin@arvados.local
59   first_name: TestCase
60   last_name: Read-Only User Group Administrator
61   identity_url: https://rominiadmin.openid.local
62   is_active: true
63   is_admin: false
64   username: rominiadmin
65   prefs:
66     profile:
67       organization: example.com
68       role: IT
69     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
70
71 active:
72   owner_uuid: zzzzz-tpzed-000000000000000
73   uuid: zzzzz-tpzed-xurymjxw79nv3jz
74   email: active-user@arvados.local
75   modified_by_client_uuid: zzzzz-ozdt8-teyxzyd8qllg11h
76   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
77   first_name: Active
78   last_name: User
79   identity_url: https://active-user.openid.local
80   is_active: true
81   is_admin: false
82   modified_at: 2015-03-26 12:34:56.789000000 Z
83   username: active
84   prefs:
85     profile:
86       organization: example.com
87       role: Computational biologist
88     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
89
90 federated_active:
91   owner_uuid: zzzzz-tpzed-000000000000000
92   uuid: zbbbb-tpzed-xurymjxw79nv3jz
93   email: zbbbb-active-user@arvados.local
94   first_name: Active
95   last_name: User
96   identity_url: https://federated-active-user.openid.local
97   is_active: true
98   is_admin: false
99   username: federatedactive
100   prefs:
101     profile:
102       organization: example.com
103       role: Computational biologist
104     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
105
106 project_viewer:
107   owner_uuid: zzzzz-tpzed-000000000000000
108   uuid: zzzzz-tpzed-projectviewer1a
109   email: project-viewer@arvados.local
110   first_name: Project
111   last_name: Viewer
112   identity_url: https://project-viewer.openid.local
113   is_active: true
114   is_admin: false
115   username: projectviewer
116   prefs:
117     profile:
118       organization: example.com
119       role: Computational biologist
120     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
121
122 future_project_user:
123   # Workbench tests give this user permission on aproject.
124   owner_uuid: zzzzz-tpzed-000000000000000
125   uuid: zzzzz-tpzed-futureprojview2
126   email: future-project-user@arvados.local
127   first_name: Future Project
128   last_name: User
129   identity_url: https://future-project-user.openid.local
130   is_active: true
131   is_admin: false
132   username: futureprojectviewer
133   prefs:
134     profile:
135       organization: example.com
136       role: Computational biologist
137     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
138
139 subproject_admin:
140   owner_uuid: zzzzz-tpzed-000000000000000
141   uuid: zzzzz-tpzed-subprojectadmin
142   email: subproject-admin@arvados.local
143   first_name: Subproject
144   last_name: Admin
145   identity_url: https://subproject-admin.openid.local
146   is_active: true
147   is_admin: false
148   username: subprojectadmin
149   prefs:
150     profile:
151       organization: example.com
152       role: Computational biologist
153     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
154
155 spectator:
156   owner_uuid: zzzzz-tpzed-000000000000000
157   uuid: zzzzz-tpzed-l1s2piq4t4mps8r
158   email: spectator@arvados.local
159   first_name: Spect
160   last_name: Ator
161   identity_url: https://spectator.openid.local
162   is_active: true
163   is_admin: false
164   username: spectator
165   prefs:
166     profile:
167       organization: example.com
168       role: Computational biologist
169     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
170
171 container_runtime_token_user:
172   owner_uuid: zzzzz-tpzed-000000000000000
173   uuid: zzzzz-tpzed-l3skomkti0c4vg4
174   email: container_runtime_token_user@arvados.local
175   first_name: Spect
176   last_name: Ator
177   identity_url: https://container_runtime_token_user.openid.local
178   is_active: true
179   is_admin: false
180   username: containerruntimetokenuser
181   prefs:
182     profile:
183       organization: example.com
184       role: Computational biologist
185     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
186
187 inactive_uninvited:
188   owner_uuid: zzzzz-tpzed-000000000000000
189   uuid: zzzzz-tpzed-rf2ec3ryh4vb5ma
190   email: inactive-uninvited-user@arvados.local
191   first_name: Inactive and Uninvited
192   last_name: User
193   identity_url: https://inactive-uninvited-user.openid.local
194   is_active: false
195   is_admin: false
196   username: inactiveuninvited
197   prefs: {}
198
199 inactive:
200   owner_uuid: zzzzz-tpzed-000000000000000
201   uuid: zzzzz-tpzed-x9kqpd79egh49c7
202   email: inactive-user@arvados.local
203   first_name: Inactive
204   last_name: User
205   identity_url: https://inactive-user.openid.local
206   is_active: false
207   is_admin: false
208   username: inactiveuser
209   prefs: {}
210
211 inactive_but_signed_user_agreement:
212   owner_uuid: zzzzz-tpzed-000000000000000
213   uuid: zzzzz-tpzed-7sg468ezxwnodxs
214   email: inactive-user-signed-ua@arvados.local
215   first_name: Inactive But Agreeable
216   last_name: User
217   identity_url: https://inactive-but-agreeable-user.openid.local
218   is_active: false
219   is_admin: false
220   username: inactiveusersignedua
221   prefs:
222     profile:
223       organization: example.com
224       role: Computational biologist
225     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
226
227 anonymous:
228   owner_uuid: zzzzz-tpzed-000000000000000
229   uuid: zzzzz-tpzed-anonymouspublic
230   email: anonymouspublic
231   first_name: anonymouspublic
232   last_name: anonymouspublic
233   is_active: false
234   is_admin: false
235   prefs: {}
236
237 job_reader:
238   owner_uuid: zzzzz-tpzed-000000000000000
239   uuid: zzzzz-tpzed-905b42d1dd4a354
240   email: jobber@arvados.local
241   first_name: Job
242   last_name: Er
243   identity_url: https://job_reader.openid.local
244   is_active: true
245   is_admin: false
246   username: jobber
247   prefs:
248     profile:
249       organization: example.com
250       role: Computational biologist
251     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
252
253 job_reader2:
254   owner_uuid: zzzzz-tpzed-000000000000000
255   uuid: zzzzz-tpzed-readjobwithcomp
256   email: job_reader2@arvados.local
257   first_name: Job
258   last_name: Reader2
259   identity_url: https://job_reader2.openid.local
260   is_active: true
261   is_admin: false
262   username: jobreader2
263   prefs:
264     profile:
265       organization: example.com
266       role: Computational biologist
267     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
268
269 active_no_prefs:
270   owner_uuid: zzzzz-tpzed-000000000000000
271   uuid: zzzzz-tpzed-a46c42d1td4aoj4
272   email: active_no_prefs@arvados.local
273   first_name: NoPrefs
274   last_name: NoProfile
275   identity_url: https://active_no_prefs.openid.local
276   is_active: true
277   is_admin: false
278   username: activenoprefs
279   prefs: {}
280
281 active_no_prefs_profile_no_getting_started_shown:
282   owner_uuid: zzzzz-tpzed-000000000000000
283   uuid: zzzzz-tpzed-a46c98d1td4aoj4
284   email: active_no_prefs_profile_no_gs@arvados.local
285   first_name: HasPrefs
286   last_name: NoProfile
287   identity_url: https://active_no_prefs_profile.openid.local
288   is_active: true
289   is_admin: false
290   username: activenoprefsprofilenogs
291   prefs:
292     test: abc
293
294 active_no_prefs_profile_with_getting_started_shown:
295   owner_uuid: zzzzz-tpzed-000000000000000
296   uuid: zzzzz-tpzed-getstartnoprofl
297   email: active_no_prefs_profile@arvados.local
298   first_name: HasPrefs
299   last_name: NoProfileWithGettingStartedShown
300   identity_url: https://active_no_prefs_profile_seen_gs.openid.local
301   is_active: true
302   is_admin: false
303   username: activenoprefsprofile
304   prefs:
305     test: abc
306     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
307
308 active_with_prefs_profile_no_getting_started_shown:
309   owner_uuid: zzzzz-tpzed-000000000000000
310   uuid: zzzzz-tpzed-nogettinstarted
311   email: active_nogettinstarted@arvados.local
312   first_name: HasPrefsProfile
313   last_name: NoGettingStartedShown
314   identity_url: https://active_nogettinstarted.openid.local
315   is_active: true
316   username: activenogettinstarted
317   prefs:
318     profile:
319       organization: example.com
320       role: Computational biologist
321
322 # Fixtures to test granting and removing permissions.
323
324 user_foo_in_sharing_group:
325   owner_uuid: zzzzz-tpzed-000000000000000
326   uuid: zzzzz-tpzed-81hsbo6mk8nl05c
327   email: user_foo_in_sharing_group@arvados.local
328   first_name: Foo
329   last_name: Sharing
330   identity_url: https://user_foo_in_sharing_group.openid.local
331   is_active: true
332   is_admin: false
333   username: fooinsharing
334
335 user_bar_in_sharing_group:
336   owner_uuid: zzzzz-tpzed-000000000000000
337   uuid: zzzzz-tpzed-n3oaj4sm5fcnwib
338   email: user_bar_in_sharing_group@arvados.local
339   first_name: Bar
340   last_name: Sharing
341   identity_url: https://user_bar_in_sharing_group.openid.local
342   is_active: true
343   is_admin: false
344   username: barinsharing
345
346 user1_with_load:
347   owner_uuid: zzzzz-tpzed-000000000000000
348   uuid: zzzzz-tpzed-user1withloadab
349   email: user1_with_load@arvados.local
350   first_name: user1_with_load
351   last_name: User
352   identity_url: https://user1_with_load.openid.local
353   is_active: true
354   is_admin: false
355   username: user1withload
356   prefs:
357     profile:
358       organization: example.com
359       role: IT
360     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
361
362 fuse:
363   owner_uuid: zzzzz-tpzed-000000000000000
364   uuid: zzzzz-tpzed-0fusedrivertest
365   email: fuse@arvados.local
366   first_name: FUSE
367   last_name: User
368   identity_url: https://fuse.openid.local
369   is_active: true
370   is_admin: false
371   username: FUSE
372   prefs:
373     profile:
374       organization: example.com
375       role: IT
376     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
377
378 permission_perftest:
379   owner_uuid: zzzzz-tpzed-000000000000000
380   uuid: zzzzz-tpzed-permissionptest
381   email: permission_perftest@arvados.local
382   first_name: FUSE
383   last_name: User
384   identity_url: https://permission_perftest.openid.local
385   is_active: true
386   is_admin: false
387   username: perftest
388   prefs:
389     profile:
390       organization: example.com
391       role: IT
392     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
393
394 redirects_to_active:
395   owner_uuid: zzzzz-tpzed-000000000000000
396   uuid: zzzzz-tpzed-1au3is3g3chtthd
397   email: redirects-to-active-user@arvados.local
398   first_name: Active2
399   last_name: User2
400   identity_url: https://redirects-to-active-user.openid.local
401   is_active: true
402   is_admin: false
403   username: redirect_active
404   redirect_to_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
405   prefs:
406     profile:
407       organization: example.com
408       role: Computational biologist
409     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
410
411 double_redirects_to_active:
412   owner_uuid: zzzzz-tpzed-000000000000000
413   uuid: zzzzz-tpzed-oiusowoxoz0pk3p
414   email: double-redirects-to-active-user@arvados.local
415   first_name: Active3
416   last_name: User3
417   identity_url: https://double-redirects-to-active-user.openid.local
418   is_active: true
419   is_admin: false
420   username: double_redirect_active
421   redirect_to_user_uuid: zzzzz-tpzed-1au3is3g3chtthd
422   prefs:
423     profile:
424       organization: example.com
425       role: Computational biologist
426     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
427
428 has_can_login_permission:
429   owner_uuid: zzzzz-tpzed-000000000000000
430   uuid: zzzzz-tpzed-xabcdjxw79nv3jz
431   email: can-login-user@arvados.local
432   modified_by_client_uuid: zzzzz-ozdt8-teyxzyd8qllg11h
433   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
434   first_name: Can_login
435   last_name: User
436   identity_url: https://can-login-user.openid.local
437   is_active: true
438   is_admin: false
439   modified_at: 2015-03-26 12:34:56.789000000 Z
440   username: canLoginUser