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