Merge branch 'master' into 3118-docker-fixes
[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 admin_vm:
47   api_client: untrusted
48   user: admin
49   api_token: adminvirtualmachineabcdefghijklmnopqrstuvwxyz12345
50   expires_at: 2038-01-01 00:00:00
51   # scope refers to the testvm fixture.
52   scopes: ["GET /arvados/v1/virtual_machines/zzzzz-2x53u-382brsig8rp3064/logins"]
53
54 admin_noscope:
55   api_client: untrusted
56   user: admin
57   api_token: adminnoscopeabcdefghijklmnopqrstuvwxyz123456789012
58   expires_at: 2038-01-01 00:00:00
59   scopes: []
60
61 active_all_collections:
62   api_client: untrusted
63   user: active
64   api_token: activecollectionsabcdefghijklmnopqrstuvwxyz1234567
65   expires_at: 2038-01-01 00:00:00
66   scopes: ["GET /arvados/v1/collections/", "GET /arvados/v1/keep_disks"]
67
68 active_userlist:
69   api_client: untrusted
70   user: active
71   api_token: activeuserlistabcdefghijklmnopqrstuvwxyz1234568900
72   expires_at: 2038-01-01 00:00:00
73   scopes: ["GET /arvados/v1/users"]
74
75 active_specimens:
76   api_client: untrusted
77   user: active
78   api_token: activespecimensabcdefghijklmnopqrstuvwxyz123456890
79   expires_at: 2038-01-01 00:00:00
80   scopes: ["GET /arvados/v1/specimens/"]
81
82 active_apitokens:
83   api_client: trusted_workbench
84   user: active
85   api_token: activeapitokensabcdefghijklmnopqrstuvwxyz123456789
86   expires_at: 2038-01-01 00:00:00
87   scopes: ["GET /arvados/v1/api_client_authorizations",
88            "POST /arvados/v1/api_client_authorizations"]
89
90 active_readonly:
91   api_client: untrusted
92   user: active
93   api_token: activereadonlyabcdefghijklmnopqrstuvwxyz1234568790
94   expires_at: 2038-01-01 00:00:00
95   scopes: ["GET /"]
96
97 spectator:
98   api_client: untrusted
99   user: spectator
100   api_token: zw2f4gwx8hw8cjre7yp6v1zylhrhn3m5gvjq73rtpwhmknrybu
101   expires_at: 2038-01-01 00:00:00
102
103 spectator_specimens:
104   api_client: untrusted
105   user: spectator
106   api_token: spectatorspecimensabcdefghijklmnopqrstuvwxyz123245
107   expires_at: 2038-01-01 00:00:00
108   scopes: ["GET /arvados/v1/specimens", "GET /arvados/v1/specimens/",
109            "POST /arvados/v1/specimens"]
110
111 inactive:
112   api_client: untrusted
113   user: inactive
114   api_token: 5s29oj2hzmcmpq80hx9cta0rl5wuf3xfd6r7disusaptz7h9m0
115   expires_at: 2038-01-01 00:00:00
116
117 inactive_uninvited:
118   api_client: untrusted
119   user: inactive_uninvited
120   api_token: 62mhllc0otp78v08e3rpa3nsmf8q8ogk47f7u5z4erp5gpj9al
121   expires_at: 2038-01-01 00:00:00
122
123 inactive_but_signed_user_agreement:
124   api_client: untrusted
125   user: inactive_but_signed_user_agreement
126   api_token: 64k3bzw37iwpdlexczj02rw3m333rrb8ydvn2qq99ohv68so5k
127   expires_at: 2038-01-01 00:00:00
128
129 expired:
130   api_client: untrusted
131   user: active
132   api_token: 2ym314ysp27sk7h943q6vtc378srb06se3pq6ghurylyf3pdmx
133   expires_at: 1970-01-01 00:00:00
134
135 expired_trustedclient:
136   api_client: trusted_workbench
137   user: active
138   api_token: 5hpni7izokzcatku2896xxwqdbt5ptomn04r6auc7fohnli82v
139   expires_at: 1970-01-01 00:00:00
140
141 valid_token_deleted_user:
142   api_client: trusted_workbench
143   user_id: 1234567
144   api_token: tewfa58099sndckyqhlgd37za6e47o6h03r9l1vpll23hudm8b
145   expires_at: 2038-01-01 00:00:00
146
147 anonymous:
148   api_client: untrusted
149   user: anonymous
150   api_token: 4kg6k6lzmp9kj4cpkcoxie964cmvjahbt4fod9zru44k4jqdmi
151   expires_at: 2038-01-01 00:00:00
152   scopes: ["GET /"]