refs #5493
[arvados.git] / services / api / test / fixtures / api_client_authorizations.yml
1 # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
3 system_user:
4   api_client: untrusted
5   user: system_user
6   api_token: systemusertesttoken1234567890aoeuidhtnsqjkxbmwvzpy
7   expires_at: 2038-01-01 00:00:00
8
9 admin:
10   api_client: untrusted
11   user: admin
12   api_token: 4axaw8zxe0qm22wa6urpp5nskcne8z88cvbupv653y1njyi05h
13   expires_at: 2038-01-01 00:00:00
14
15 admin_trustedclient:
16   api_client: trusted_workbench
17   user: admin
18   api_token: 1a9ffdcga2o7cw8q12dndskomgs1ygli3ns9k2o9hgzgmktc78
19   expires_at: 2038-01-01 00:00:00
20
21 miniadmin:
22   api_client: untrusted
23   user: miniadmin
24   api_token: 2zb2y9pw3e70270te7oe3ewaantea3adyxjascvkz0zob7q7xb
25   expires_at: 2038-01-01 00:00:00
26
27 rominiadmin:
28   api_client: untrusted
29   user: rominiadmin
30   api_token: 5tsb2pc3zlatn1ortl98s2tqsehpby88wmmnzmpsjmzwa6payh
31   expires_at: 2038-01-01 00:00:00
32
33 active:
34   api_client: untrusted
35   user: active
36   api_token: 3kg6k6lzmp9kj5cpkcoxie963cmvjahbt2fod9zru30k1jqdmi
37   expires_at: 2038-01-01 00:00:00
38
39 active_trustedclient:
40   api_client: trusted_workbench
41   user: active
42   api_token: 27bnddk6x2nmq00a1e3gq43n9tsl5v87a3faqar2ijj8tud5en
43   expires_at: 2038-01-01 00:00:00
44
45 active_noscope:
46   api_client: untrusted
47   user: active
48   api_token: activenoscopeabcdefghijklmnopqrstuvwxyz12345678901
49   expires_at: 2038-01-01 00:00:00
50   scopes: []
51
52 project_viewer:
53   api_client: untrusted
54   user: project_viewer
55   api_token: projectviewertoken1234567890abcdefghijklmnopqrstuv
56   expires_at: 2038-01-01 00:00:00
57
58 project_viewer_trustedclient:
59   api_client: trusted_workbench
60   user: project_viewer
61   api_token: projectviewertrustedtoken1234567890abcdefghijklmno
62   expires_at: 2038-01-01 00:00:00
63
64 subproject_admin:
65   api_client: untrusted
66   user: subproject_admin
67   api_token: subprojectadmintoken1234567890abcdefghijklmnopqrst
68   expires_at: 2038-01-01 00:00:00
69
70 admin_vm:
71   api_client: untrusted
72   user: admin
73   api_token: adminvirtualmachineabcdefghijklmnopqrstuvwxyz12345
74   expires_at: 2038-01-01 00:00:00
75   # scope refers to the testvm fixture.
76   scopes: ["GET /arvados/v1/virtual_machines/zzzzz-2x53u-382brsig8rp3064/logins"]
77
78 admin_noscope:
79   api_client: untrusted
80   user: admin
81   api_token: adminnoscopeabcdefghijklmnopqrstuvwxyz123456789012
82   expires_at: 2038-01-01 00:00:00
83   scopes: []
84
85 active_all_collections:
86   api_client: untrusted
87   user: active
88   api_token: activecollectionsabcdefghijklmnopqrstuvwxyz1234567
89   expires_at: 2038-01-01 00:00:00
90   scopes: ["GET /arvados/v1/collections/", "GET /arvados/v1/keep_disks"]
91
92 active_userlist:
93   api_client: untrusted
94   user: active
95   api_token: activeuserlistabcdefghijklmnopqrstuvwxyz1234568900
96   expires_at: 2038-01-01 00:00:00
97   scopes: ["GET /arvados/v1/users"]
98
99 active_specimens:
100   api_client: untrusted
101   user: active
102   api_token: activespecimensabcdefghijklmnopqrstuvwxyz123456890
103   expires_at: 2038-01-01 00:00:00
104   scopes: ["GET /arvados/v1/specimens/"]
105
106 active_apitokens:
107   api_client: trusted_workbench
108   user: active
109   api_token: activeapitokensabcdefghijklmnopqrstuvwxyz123456789
110   expires_at: 2038-01-01 00:00:00
111   scopes: ["GET /arvados/v1/api_client_authorizations",
112            "POST /arvados/v1/api_client_authorizations"]
113
114 active_readonly:
115   api_client: untrusted
116   user: active
117   api_token: activereadonlyabcdefghijklmnopqrstuvwxyz1234568790
118   expires_at: 2038-01-01 00:00:00
119   scopes: ["GET /"]
120
121 spectator:
122   api_client: untrusted
123   user: spectator
124   api_token: zw2f4gwx8hw8cjre7yp6v1zylhrhn3m5gvjq73rtpwhmknrybu
125   expires_at: 2038-01-01 00:00:00
126
127 spectator_specimens:
128   api_client: untrusted
129   user: spectator
130   api_token: spectatorspecimensabcdefghijklmnopqrstuvwxyz123245
131   expires_at: 2038-01-01 00:00:00
132   scopes: ["GET /arvados/v1/specimens", "GET /arvados/v1/specimens/",
133            "POST /arvados/v1/specimens"]
134
135 inactive:
136   api_client: untrusted
137   user: inactive
138   api_token: 5s29oj2hzmcmpq80hx9cta0rl5wuf3xfd6r7disusaptz7h9m0
139   expires_at: 2038-01-01 00:00:00
140
141 inactive_uninvited:
142   api_client: untrusted
143   user: inactive_uninvited
144   api_token: 62mhllc0otp78v08e3rpa3nsmf8q8ogk47f7u5z4erp5gpj9al
145   expires_at: 2038-01-01 00:00:00
146
147 inactive_but_signed_user_agreement:
148   api_client: untrusted
149   user: inactive_but_signed_user_agreement
150   api_token: 64k3bzw37iwpdlexczj02rw3m333rrb8ydvn2qq99ohv68so5k
151   expires_at: 2038-01-01 00:00:00
152
153 expired:
154   api_client: untrusted
155   user: active
156   api_token: 2ym314ysp27sk7h943q6vtc378srb06se3pq6ghurylyf3pdmx
157   expires_at: 1970-01-01 00:00:00
158
159 expired_trustedclient:
160   api_client: trusted_workbench
161   user: active
162   api_token: 5hpni7izokzcatku2896xxwqdbt5ptomn04r6auc7fohnli82v
163   expires_at: 1970-01-01 00:00:00
164
165 valid_token_deleted_user:
166   api_client: trusted_workbench
167   user_id: 1234567
168   api_token: tewfa58099sndckyqhlgd37za6e47o6h03r9l1vpll23hudm8b
169   expires_at: 2038-01-01 00:00:00
170
171 anonymous:
172   api_client: untrusted
173   user: anonymous
174   api_token: 4kg6k6lzmp9kj4cpkcoxie964cmvjahbt4fod9zru44k4jqdmi
175   expires_at: 2038-01-01 00:00:00
176   scopes: ["GET /"]
177
178 job_reader:
179   api_client: untrusted
180   user: job_reader
181   api_token: e99512cdc0f3415c2428b9758f33bdfb07bc3561b00e86e7e6
182   expires_at: 2038-01-01 00:00:00
183
184 active_no_prefs:
185   api_client: untrusted
186   user: active_no_prefs
187   api_token: 3kg612cdc0f3415c2428b9758f33bdfb07bc3561b00e86qdmi
188   expires_at: 2038-01-01 00:00:00
189
190 active_no_prefs_profile_no_getting_started_shown:
191   api_client: untrusted
192   user: active_no_prefs_profile_no_getting_started_shown
193   api_token: 3kg612cdc0f3415c242856758f33bdfb07bc3561b00e86qdmi
194   expires_at: 2038-01-01 00:00:00
195
196 active_no_prefs_profile_with_getting_started_shown:
197   api_client: untrusted
198   user: active_no_prefs_profile_with_getting_started_shown
199   api_token: 3kg612cdc0f3415c245786758f33bdfb07babcd1b00e86qdmi
200   expires_at: 2038-01-01 00:00:00
201
202 user_foo_in_sharing_group:
203   api_client: untrusted
204   user: user_foo_in_sharing_group
205   api_token: 2p1pou8p4ls208mcbedeewlotghppenobcyrmyhq8pyf51xd8u
206   expires_at: 2038-01-01 00:00:00
207
208 user1_with_load:
209   api_client: untrusted
210   user: user1_with_load
211   api_token: 1234k6lzmp9kj5cpkcoxie963cmvjahbt2fod9zru30k1jqdmi
212   expires_at: 2038-01-01 00:00:00
213
214 fuse:
215   api_client: untrusted
216   user: fuse
217   api_token: 4nagbkv8eap0uok7pxm72nossq5asihls3yn5p4xmvqx5t5e7p
218   expires_at: 2038-01-01 00:00:00
219