5493: fix a bug in user profile handling where any pre-existing prefs are being lost.
[arvados.git] / services / api / test / fixtures / users.yml
1 # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
3 system_user:
4   uuid: zzzzz-tpzed-000000000000000
5   owner_uuid: zzzzz-tpzed-000000000000000
6   created_at: 2014-11-27 06:38:21.215463000 Z
7   modified_by_client_uuid: zzzzz-ozdt8-teyxzyd8qllg11h
8   modified_by_user_uuid: zzzzz-tpzed-000000000000000
9   modified_at: 2014-11-27 06:38:21.208036000 Z
10   email: root
11   first_name: root
12   last_name: ''
13   identity_url:
14   is_admin: true
15   prefs: {}
16   updated_at: 2014-11-27 06:38:21.207873000 Z
17   is_active: true
18
19 admin:
20   owner_uuid: zzzzz-tpzed-000000000000000
21   uuid: zzzzz-tpzed-d9tiejq69daie8f
22   email: admin@arvados.local
23   first_name: TestCase
24   last_name: Administrator
25   identity_url: https://admin.openid.local
26   is_active: true
27   is_admin: true
28   username: admin
29   prefs:
30     profile:
31       organization: example.com
32       role: IT
33     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
34
35 miniadmin:
36   owner_uuid: zzzzz-tpzed-000000000000000
37   uuid: zzzzz-tpzed-2bg9x0oeydcw5hm
38   email: miniadmin@arvados.local
39   first_name: TestCase
40   last_name: User Group Administrator
41   identity_url: https://miniadmin.openid.local
42   is_active: true
43   is_admin: false
44   username: miniadmin
45   prefs:
46     profile:
47       organization: example.com
48       role: IT
49     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
50
51 rominiadmin:
52   owner_uuid: zzzzz-tpzed-000000000000000
53   uuid: zzzzz-tpzed-4hvxm4n25emegis
54   email: rominiadmin@arvados.local
55   first_name: TestCase
56   last_name: Read-Only User Group Administrator
57   identity_url: https://rominiadmin.openid.local
58   is_active: true
59   is_admin: false
60   username: rominiadmin
61   prefs:
62     profile:
63       organization: example.com
64       role: IT
65     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
66
67 active:
68   owner_uuid: zzzzz-tpzed-000000000000000
69   uuid: zzzzz-tpzed-xurymjxw79nv3jz
70   email: active-user@arvados.local
71   first_name: Active
72   last_name: User
73   identity_url: https://active-user.openid.local
74   is_active: true
75   is_admin: false
76   username: active
77   prefs:
78     profile:
79       organization: example.com
80       role: Computational biologist
81     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
82
83 project_viewer:
84   owner_uuid: zzzzz-tpzed-000000000000000
85   uuid: zzzzz-tpzed-projectviewer1a
86   email: project-viewer@arvados.local
87   first_name: Project
88   last_name: Viewer
89   identity_url: https://project-viewer.openid.local
90   is_active: true
91   is_admin: false
92   username: projectviewer
93   prefs:
94     profile:
95       organization: example.com
96       role: Computational biologist
97     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
98
99 future_project_user:
100   # Workbench tests give this user permission on aproject.
101   owner_uuid: zzzzz-tpzed-000000000000000
102   uuid: zzzzz-tpzed-futureprojview2
103   email: future-project-user@arvados.local
104   first_name: Future Project
105   last_name: User
106   identity_url: https://future-project-user.openid.local
107   is_active: true
108   is_admin: false
109   username: futureprojectviewer
110   prefs:
111     profile:
112       organization: example.com
113       role: Computational biologist
114     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
115
116 subproject_admin:
117   owner_uuid: zzzzz-tpzed-000000000000000
118   uuid: zzzzz-tpzed-subprojectadmin
119   email: subproject-admin@arvados.local
120   first_name: Subproject
121   last_name: Admin
122   identity_url: https://subproject-admin.openid.local
123   is_active: true
124   is_admin: false
125   username: subprojectadmin
126   prefs:
127     profile:
128       organization: example.com
129       role: Computational biologist
130     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
131
132 spectator:
133   owner_uuid: zzzzz-tpzed-000000000000000
134   uuid: zzzzz-tpzed-l1s2piq4t4mps8r
135   email: spectator@arvados.local
136   first_name: Spect
137   last_name: Ator
138   identity_url: https://spectator.openid.local
139   is_active: true
140   is_admin: false
141   username: spectator
142   prefs:
143     profile:
144       organization: example.com
145       role: Computational biologist
146     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
147
148 inactive_uninvited:
149   owner_uuid: zzzzz-tpzed-000000000000000
150   uuid: zzzzz-tpzed-rf2ec3ryh4vb5ma
151   email: inactive-uninvited-user@arvados.local
152   first_name: Inactive and Uninvited
153   last_name: User
154   identity_url: https://inactive-uninvited-user.openid.local
155   is_active: false
156   is_admin: false
157   prefs: {}
158
159 inactive:
160   owner_uuid: zzzzz-tpzed-000000000000000
161   uuid: zzzzz-tpzed-x9kqpd79egh49c7
162   email: inactive-user@arvados.local
163   first_name: Inactive
164   last_name: User
165   identity_url: https://inactive-user.openid.local
166   is_active: false
167   is_admin: false
168   prefs: {}
169
170 inactive_but_signed_user_agreement:
171   owner_uuid: zzzzz-tpzed-000000000000000
172   uuid: zzzzz-tpzed-7sg468ezxwnodxs
173   email: inactive-user-signed-ua@arvados.local
174   first_name: Inactive But Agreeable
175   last_name: User
176   identity_url: https://inactive-but-agreeable-user.openid.local
177   is_active: false
178   is_admin: false
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 anonymous:
186   owner_uuid: zzzzz-tpzed-000000000000000
187   uuid: zzzzz-tpzed-anonymouspublic
188   email: anonymouspublic
189   first_name: anonymouspublic
190   last_name: anonymouspublic
191   is_active: false
192   is_admin: false
193   prefs: {}
194
195 job_reader:
196   owner_uuid: zzzzz-tpzed-000000000000000
197   uuid: zzzzz-tpzed-905b42d1dd4a354
198   email: jobber@arvados.local
199   first_name: Job
200   last_name: Er
201   identity_url: https://spectator.openid.local
202   is_active: true
203   is_admin: false
204   username: jobber
205   prefs:
206     profile:
207       organization: example.com
208       role: Computational biologist
209     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
210
211 active_no_prefs:
212   owner_uuid: zzzzz-tpzed-000000000000000
213   uuid: zzzzz-tpzed-a46c42d1td4aoj4
214   email: active_no_prefs@arvados.local
215   first_name: NoPrefs
216   last_name: NoProfile
217   identity_url: https://active_no_prefs.openid.local
218   is_active: true
219   is_admin: false
220   prefs: {}
221
222 active_no_prefs_profile:
223   owner_uuid: zzzzz-tpzed-000000000000000
224   uuid: zzzzz-tpzed-a46c98d1td4aoj4
225   email: active_no_prefs_profile@arvados.local
226   first_name: HasPrefs
227   last_name: NoProfile
228   identity_url: https://active_no_prefs_profile.openid.local
229   is_active: true
230   is_admin: false
231   prefs:
232     test: abc
233     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
234
235 # Fixtures to test granting and removing permissions.
236
237 user_foo_in_sharing_group:
238   owner_uuid: zzzzz-tpzed-000000000000000
239   uuid: zzzzz-tpzed-81hsbo6mk8nl05c
240   email: user_foo_in_sharing_group@arvados.local
241   first_name: Foo
242   last_name: Sharing
243   identity_url: https://user_foo_in_sharing_group.openid.local
244   is_active: true
245   is_admin: false
246   username: fooinsharing
247
248 user_bar_in_sharing_group:
249   owner_uuid: zzzzz-tpzed-000000000000000
250   uuid: zzzzz-tpzed-n3oaj4sm5fcnwib
251   email: user_bar_in_sharing_group@arvados.local
252   first_name: Bar
253   last_name: Sharing
254   identity_url: https://user_bar_in_sharing_group.openid.local
255   is_active: true
256   is_admin: false
257   username: barinsharing
258
259 user1_with_load:
260   owner_uuid: zzzzz-tpzed-000000000000000
261   uuid: zzzzz-tpzed-user1withloadab
262   email: user1_with_load@arvados.local
263   first_name: user1_with_load
264   last_name: User
265   identity_url: https://user1_with_load.openid.local
266   is_active: true
267   is_admin: false
268   prefs:
269     profile:
270       organization: example.com
271       role: IT
272     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
273
274 fuse:
275   owner_uuid: zzzzz-tpzed-000000000000000
276   uuid: zzzzz-tpzed-0fusedrivertest
277   email: fuse@arvados.local
278   first_name: FUSE
279   last_name: User
280   identity_url: https://fuse.openid.local
281   is_active: true
282   is_admin: false
283   username: FUSE
284   prefs:
285     profile:
286       organization: example.com
287       role: IT
288     getting_started_shown: 2015-03-26 12:34:56.789000000 Z