8460: Cache negative permission.
[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   username: inactiveuser
169   prefs: {}
170
171 inactive_but_signed_user_agreement:
172   owner_uuid: zzzzz-tpzed-000000000000000
173   uuid: zzzzz-tpzed-7sg468ezxwnodxs
174   email: inactive-user-signed-ua@arvados.local
175   first_name: Inactive But Agreeable
176   last_name: User
177   identity_url: https://inactive-but-agreeable-user.openid.local
178   is_active: false
179   is_admin: false
180   prefs:
181     profile:
182       organization: example.com
183       role: Computational biologist
184     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
185
186 anonymous:
187   owner_uuid: zzzzz-tpzed-000000000000000
188   uuid: zzzzz-tpzed-anonymouspublic
189   email: anonymouspublic
190   first_name: anonymouspublic
191   last_name: anonymouspublic
192   is_active: false
193   is_admin: false
194   prefs: {}
195
196 job_reader:
197   owner_uuid: zzzzz-tpzed-000000000000000
198   uuid: zzzzz-tpzed-905b42d1dd4a354
199   email: jobber@arvados.local
200   first_name: Job
201   last_name: Er
202   identity_url: https://spectator.openid.local
203   is_active: true
204   is_admin: false
205   username: jobber
206   prefs:
207     profile:
208       organization: example.com
209       role: Computational biologist
210     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
211
212 job_reader2:
213   owner_uuid: zzzzz-tpzed-000000000000000
214   uuid: zzzzz-tpzed-readjobwithcomp
215   email: job_reader2@arvados.local
216   first_name: Job
217   last_name: Reader2
218   identity_url: https://job_reader2.openid.local
219   is_active: true
220   is_admin: false
221   username: jobreader2
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 active_no_prefs:
229   owner_uuid: zzzzz-tpzed-000000000000000
230   uuid: zzzzz-tpzed-a46c42d1td4aoj4
231   email: active_no_prefs@arvados.local
232   first_name: NoPrefs
233   last_name: NoProfile
234   identity_url: https://active_no_prefs.openid.local
235   is_active: true
236   is_admin: false
237   prefs: {}
238
239 active_no_prefs_profile_no_getting_started_shown:
240   owner_uuid: zzzzz-tpzed-000000000000000
241   uuid: zzzzz-tpzed-a46c98d1td4aoj4
242   email: active_no_prefs_profile@arvados.local
243   first_name: HasPrefs
244   last_name: NoProfile
245   identity_url: https://active_no_prefs_profile.openid.local
246   is_active: true
247   is_admin: false
248   prefs:
249     test: abc
250
251 active_no_prefs_profile_with_getting_started_shown:
252   owner_uuid: zzzzz-tpzed-000000000000000
253   uuid: zzzzz-tpzed-getstartnoprofl
254   email: active_no_prefs_profile@arvados.local
255   first_name: HasPrefs
256   last_name: NoProfileWithGettingStartedShown
257   identity_url: https://active_no_prefs_profile_seen_gs.openid.local
258   is_active: true
259   is_admin: false
260   prefs:
261     test: abc
262     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
263
264 active_with_prefs_profile_no_getting_started_shown:
265   owner_uuid: zzzzz-tpzed-000000000000000
266   uuid: zzzzz-tpzed-nogettinstarted
267   email: active_nogettinstarted@arvados.local
268   first_name: HasPrefsProfile
269   last_name: NoGettingStartedShown
270   identity_url: https://active_nogettinstarted.openid.local
271   is_active: true
272   prefs:
273     profile:
274       organization: example.com
275       role: Computational biologist
276
277 # Fixtures to test granting and removing permissions.
278
279 user_foo_in_sharing_group:
280   owner_uuid: zzzzz-tpzed-000000000000000
281   uuid: zzzzz-tpzed-81hsbo6mk8nl05c
282   email: user_foo_in_sharing_group@arvados.local
283   first_name: Foo
284   last_name: Sharing
285   identity_url: https://user_foo_in_sharing_group.openid.local
286   is_active: true
287   is_admin: false
288   username: fooinsharing
289
290 user_bar_in_sharing_group:
291   owner_uuid: zzzzz-tpzed-000000000000000
292   uuid: zzzzz-tpzed-n3oaj4sm5fcnwib
293   email: user_bar_in_sharing_group@arvados.local
294   first_name: Bar
295   last_name: Sharing
296   identity_url: https://user_bar_in_sharing_group.openid.local
297   is_active: true
298   is_admin: false
299   username: barinsharing
300
301 user1_with_load:
302   owner_uuid: zzzzz-tpzed-000000000000000
303   uuid: zzzzz-tpzed-user1withloadab
304   email: user1_with_load@arvados.local
305   first_name: user1_with_load
306   last_name: User
307   identity_url: https://user1_with_load.openid.local
308   is_active: true
309   is_admin: false
310   username: user1withload
311   prefs:
312     profile:
313       organization: example.com
314       role: IT
315     getting_started_shown: 2015-03-26 12:34:56.789000000 Z
316
317 fuse:
318   owner_uuid: zzzzz-tpzed-000000000000000
319   uuid: zzzzz-tpzed-0fusedrivertest
320   email: fuse@arvados.local
321   first_name: FUSE
322   last_name: User
323   identity_url: https://fuse.openid.local
324   is_active: true
325   is_admin: false
326   username: FUSE
327   prefs:
328     profile:
329       organization: example.com
330       role: IT
331     getting_started_shown: 2015-03-26 12:34:56.789000000 Z