b2cli should not require listBuckets perm for keys limited to a single bucket

Abierto
#751 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
cli, cloud

Línea de trabajo

The issue names no files or tests. Start by reproducing the failure: authorize with a key that only has writeFiles for one bucket, then run an upload and note where the CLI calls listBuckets. Read the account-authorization code where the bucket-name-to-id cache is filled, and check whether the B2 authorize response can seed it for a single bucket. Done means upload, download and ls work with that restricted key and the existing tests still pass.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement up-for-grabs

https://www.backblaze.com/b2/docs/b2_authorize_account.html lets us partially fill the local bucket-name-to-id cache and that should be enough to upload/download/list files.

Currently keys with just writeFiles are not usable in cli and it would be nice if this would work fine. Not a huge change to the codebase, might be a nice addition.

Lenguaje dominante
Python
Estrellas
638
Forks
138
Merge medio
8 h 27 min
PR fusionados (30 d)
8

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Backblaze/B2_Command_Line_Tool

Todos los issues de Backblaze/B2_Command_Line_Tool

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.