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