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