api: Support scope searching in API token index.
[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 admin_vm:
40   api_client: untrusted
41   user: admin
42   api_token: adminvirtualmachineabcdefghijklmnopqrstuvwxyz12345
43   expires_at: 2038-01-01 00:00:00
44   # scope refers to the testvm fixture.
45   scopes: ["GET /arvados/v1/virtual_machines/zzzzz-2x53u-382brsig8rp3064/logins"]
46
47 admin_noscope:
48   api_client: untrusted
49   user: admin
50   api_token: adminnoscopeabcdefghijklmnopqrstuvwxyz123456789012
51   expires_at: 2038-01-01 00:00:00
52   scopes: []
53
54 active_userlist:
55   api_client: untrusted
56   user: active
57   api_token: activeuserlistabcdefghijklmnopqrstuvwxyz1234568900
58   expires_at: 2038-01-01 00:00:00
59   scopes: ["GET /arvados/v1/users"]
60
61 active_specimens:
62   api_client: untrusted
63   user: active
64   api_token: activespecimensabcdefghijklmnopqrstuvwxyz123456890
65   expires_at: 2038-01-01 00:00:00
66   scopes: ["GET /arvados/v1/specimens/"]
67
68 active_apitokens:
69   api_client: trusted_workbench
70   user: active
71   api_token: activeapitokensabcdefghijklmnopqrstuvwxyz123456789
72   expires_at: 2038-01-01 00:00:00
73   scopes: ["GET /arvados/v1/api_client_authorizations",
74            "POST /arvados/v1/api_client_authorizations"]
75
76 spectator:
77   api_client: untrusted
78   user: spectator
79   api_token: zw2f4gwx8hw8cjre7yp6v1zylhrhn3m5gvjq73rtpwhmknrybu
80   expires_at: 2038-01-01 00:00:00
81
82 inactive:
83   api_client: untrusted
84   user: inactive
85   api_token: 5s29oj2hzmcmpq80hx9cta0rl5wuf3xfd6r7disusaptz7h9m0
86   expires_at: 2038-01-01 00:00:00
87
88 inactive_uninvited:
89   api_client: untrusted
90   user: inactive_uninvited
91   api_token: 62mhllc0otp78v08e3rpa3nsmf8q8ogk47f7u5z4erp5gpj9al
92   expires_at: 2038-01-01 00:00:00
93
94 inactive_but_signed_user_agreement:
95   api_client: untrusted
96   user: inactive_but_signed_user_agreement
97   api_token: 64k3bzw37iwpdlexczj02rw3m333rrb8ydvn2qq99ohv68so5k
98   expires_at: 2038-01-01 00:00:00
99
100 expired:
101   api_client: untrusted
102   user: active
103   api_token: 2ym314ysp27sk7h943q6vtc378srb06se3pq6ghurylyf3pdmx
104   expires_at: 1970-01-01 00:00:00
105
106 expired_trustedclient:
107   api_client: trusted_workbench
108   user: active
109   api_token: 5hpni7izokzcatku2896xxwqdbt5ptomn04r6auc7fohnli82v
110   expires_at: 1970-01-01 00:00:00
111
112 valid_token_deleted_user:
113   api_client: trusted_workbench
114   user_id: 1234567
115   api_token: tewfa58099sndckyqhlgd37za6e47o6h03r9l1vpll23hudm8b
116   expires_at: 2038-01-01 00:00:00