X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8048da32800fab790b68f502c52dd00c89b5b690..d7e23d9ae16310f9efe16a6a74ff2fc95ae4ccb4:/services/api/test/fixtures/api_client_authorizations.yml diff --git a/services/api/test/fixtures/api_client_authorizations.yml b/services/api/test/fixtures/api_client_authorizations.yml index 5cada908a4..71b638806d 100644 --- a/services/api/test/fixtures/api_client_authorizations.yml +++ b/services/api/test/fixtures/api_client_authorizations.yml @@ -36,12 +36,71 @@ active_trustedclient: api_token: 27bnddk6x2nmq00a1e3gq43n9tsl5v87a3faqar2ijj8tud5en expires_at: 2038-01-01 00:00:00 +active_noscope: + api_client: untrusted + user: active + api_token: activenoscopeabcdefghijklmnopqrstuvwxyz12345678901 + expires_at: 2038-01-01 00:00:00 + scopes: [] + +admin_vm: + api_client: untrusted + user: admin + api_token: adminvirtualmachineabcdefghijklmnopqrstuvwxyz12345 + expires_at: 2038-01-01 00:00:00 + # scope refers to the testvm fixture. + scopes: ["GET /arvados/v1/virtual_machines/zzzzz-2x53u-382brsig8rp3064/logins"] + +admin_noscope: + api_client: untrusted + user: admin + api_token: adminnoscopeabcdefghijklmnopqrstuvwxyz123456789012 + expires_at: 2038-01-01 00:00:00 + scopes: [] + +active_all_collections: + api_client: untrusted + user: active + api_token: activecollectionsabcdefghijklmnopqrstuvwxyz1234567 + expires_at: 2038-01-01 00:00:00 + scopes: ["GET /arvados/v1/collections/", "GET /arvados/v1/keep_disks"] + +active_userlist: + api_client: untrusted + user: active + api_token: activeuserlistabcdefghijklmnopqrstuvwxyz1234568900 + expires_at: 2038-01-01 00:00:00 + scopes: ["GET /arvados/v1/users"] + +active_specimens: + api_client: untrusted + user: active + api_token: activespecimensabcdefghijklmnopqrstuvwxyz123456890 + expires_at: 2038-01-01 00:00:00 + scopes: ["GET /arvados/v1/specimens/"] + +active_apitokens: + api_client: trusted_workbench + user: active + api_token: activeapitokensabcdefghijklmnopqrstuvwxyz123456789 + expires_at: 2038-01-01 00:00:00 + scopes: ["GET /arvados/v1/api_client_authorizations", + "POST /arvados/v1/api_client_authorizations"] + spectator: api_client: untrusted user: spectator api_token: zw2f4gwx8hw8cjre7yp6v1zylhrhn3m5gvjq73rtpwhmknrybu expires_at: 2038-01-01 00:00:00 +spectator_specimens: + api_client: untrusted + user: spectator + api_token: spectatorspecimensabcdefghijklmnopqrstuvwxyz123245 + expires_at: 2038-01-01 00:00:00 + scopes: ["GET /arvados/v1/specimens", "GET /arvados/v1/specimens/", + "POST /arvados/v1/specimens"] + inactive: api_client: untrusted user: inactive