3775: Merge branch 'master' into 3775-fetch-git-repo
[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 admin:
4   api_client: untrusted
5   user: admin
6   api_token: 4axaw8zxe0qm22wa6urpp5nskcne8z88cvbupv653y1njyi05h
7   expires_at: 2038-01-01 00:00:00
8
9 admin_trustedclient:
10   api_client: trusted_workbench
11   user: admin
12   api_token: 1a9ffdcga2o7cw8q12dndskomgs1ygli3ns9k2o9hgzgmktc78
13   expires_at: 2038-01-01 00:00:00
14
15 miniadmin:
16   api_client: untrusted
17   user: miniadmin
18   api_token: 2zb2y9pw3e70270te7oe3ewaantea3adyxjascvkz0zob7q7xb
19   expires_at: 2038-01-01 00:00:00
20
21 rominiadmin:
22   api_client: untrusted
23   user: rominiadmin
24   api_token: 5tsb2pc3zlatn1ortl98s2tqsehpby88wmmnzmpsjmzwa6payh
25   expires_at: 2038-01-01 00:00:00
26
27 active:
28   api_client: untrusted
29   user: active
30   api_token: 3kg6k6lzmp9kj5cpkcoxie963cmvjahbt2fod9zru30k1jqdmi
31   expires_at: 2038-01-01 00:00:00
32
33 active_trustedclient:
34   api_client: trusted_workbench
35   user: active
36   api_token: 27bnddk6x2nmq00a1e3gq43n9tsl5v87a3faqar2ijj8tud5en
37   expires_at: 2038-01-01 00:00:00
38
39 active_noscope:
40   api_client: untrusted
41   user: active
42   api_token: activenoscopeabcdefghijklmnopqrstuvwxyz12345678901
43   expires_at: 2038-01-01 00:00:00
44   scopes: []
45
46 project_viewer:
47   api_client: untrusted
48   user: project_viewer
49   api_token: projectviewertoken1234567890abcdefghijklmnopqrstuv
50   expires_at: 2038-01-01 00:00:00
51
52 admin_vm:
53   api_client: untrusted
54   user: admin
55   api_token: adminvirtualmachineabcdefghijklmnopqrstuvwxyz12345
56   expires_at: 2038-01-01 00:00:00
57   # scope refers to the testvm fixture.
58   scopes: ["GET /arvados/v1/virtual_machines/zzzzz-2x53u-382brsig8rp3064/logins"]
59
60 admin_noscope:
61   api_client: untrusted
62   user: admin
63   api_token: adminnoscopeabcdefghijklmnopqrstuvwxyz123456789012
64   expires_at: 2038-01-01 00:00:00
65   scopes: []
66
67 active_all_collections:
68   api_client: untrusted
69   user: active
70   api_token: activecollectionsabcdefghijklmnopqrstuvwxyz1234567
71   expires_at: 2038-01-01 00:00:00
72   scopes: ["GET /arvados/v1/collections/", "GET /arvados/v1/keep_disks"]
73
74 active_userlist:
75   api_client: untrusted
76   user: active
77   api_token: activeuserlistabcdefghijklmnopqrstuvwxyz1234568900
78   expires_at: 2038-01-01 00:00:00
79   scopes: ["GET /arvados/v1/users"]
80
81 active_specimens:
82   api_client: untrusted
83   user: active
84   api_token: activespecimensabcdefghijklmnopqrstuvwxyz123456890
85   expires_at: 2038-01-01 00:00:00
86   scopes: ["GET /arvados/v1/specimens/"]
87
88 active_apitokens:
89   api_client: trusted_workbench
90   user: active
91   api_token: activeapitokensabcdefghijklmnopqrstuvwxyz123456789
92   expires_at: 2038-01-01 00:00:00
93   scopes: ["GET /arvados/v1/api_client_authorizations",
94            "POST /arvados/v1/api_client_authorizations"]
95
96 active_readonly:
97   api_client: untrusted
98   user: active
99   api_token: activereadonlyabcdefghijklmnopqrstuvwxyz1234568790
100   expires_at: 2038-01-01 00:00:00
101   scopes: ["GET /"]
102
103 spectator:
104   api_client: untrusted
105   user: spectator
106   api_token: zw2f4gwx8hw8cjre7yp6v1zylhrhn3m5gvjq73rtpwhmknrybu
107   expires_at: 2038-01-01 00:00:00
108
109 spectator_specimens:
110   api_client: untrusted
111   user: spectator
112   api_token: spectatorspecimensabcdefghijklmnopqrstuvwxyz123245
113   expires_at: 2038-01-01 00:00:00
114   scopes: ["GET /arvados/v1/specimens", "GET /arvados/v1/specimens/",
115            "POST /arvados/v1/specimens"]
116
117 inactive:
118   api_client: untrusted
119   user: inactive
120   api_token: 5s29oj2hzmcmpq80hx9cta0rl5wuf3xfd6r7disusaptz7h9m0
121   expires_at: 2038-01-01 00:00:00
122
123 inactive_uninvited:
124   api_client: untrusted
125   user: inactive_uninvited
126   api_token: 62mhllc0otp78v08e3rpa3nsmf8q8ogk47f7u5z4erp5gpj9al
127   expires_at: 2038-01-01 00:00:00
128
129 inactive_but_signed_user_agreement:
130   api_client: untrusted
131   user: inactive_but_signed_user_agreement
132   api_token: 64k3bzw37iwpdlexczj02rw3m333rrb8ydvn2qq99ohv68so5k
133   expires_at: 2038-01-01 00:00:00
134
135 expired:
136   api_client: untrusted
137   user: active
138   api_token: 2ym314ysp27sk7h943q6vtc378srb06se3pq6ghurylyf3pdmx
139   expires_at: 1970-01-01 00:00:00
140
141 expired_trustedclient:
142   api_client: trusted_workbench
143   user: active
144   api_token: 5hpni7izokzcatku2896xxwqdbt5ptomn04r6auc7fohnli82v
145   expires_at: 1970-01-01 00:00:00
146
147 valid_token_deleted_user:
148   api_client: trusted_workbench
149   user_id: 1234567
150   api_token: tewfa58099sndckyqhlgd37za6e47o6h03r9l1vpll23hudm8b
151   expires_at: 2038-01-01 00:00:00
152
153 anonymous:
154   api_client: untrusted
155   user: anonymous
156   api_token: 4kg6k6lzmp9kj4cpkcoxie964cmvjahbt4fod9zru44k4jqdmi
157   expires_at: 2038-01-01 00:00:00
158   scopes: ["GET /"]
159
160 job_reader:
161   api_client: untrusted
162   user: job_reader
163   api_token: e99512cdc0f3415c2428b9758f33bdfb07bc3561b00e86e7e6
164   expires_at: 2038-01-01 00:00:00
165
166 active_no_prefs:
167   api_client: untrusted
168   user: active_no_prefs
169   api_token: 3kg612cdc0f3415c2428b9758f33bdfb07bc3561b00e86qdmi
170   expires_at: 2038-01-01 00:00:00
171
172 active_no_prefs_profile:
173   api_client: untrusted
174   user: active_no_prefs_profile
175   api_token: 3kg612cdc0f3415c242856758f33bdfb07bc3561b00e86qdmi
176   expires_at: 2038-01-01 00:00:00
177
178 user_foo_in_sharing_group:
179   api_client: untrusted
180   user: user_foo_in_sharing_group
181   api_token: 2p1pou8p4ls208mcbedeewlotghppenobcyrmyhq8pyf51xd8u
182   expires_at: 2038-01-01 00:00:00