Better reporting of permission errors
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 12/100
Línea de trabajo
The issue asks for a permission-error report in the CLI: when a 401 occurs, it should name the API call and the permissions that call requires, then compare them with the key's capabilities in a table. The payload names no files or tests, so first find where the CLI handles 401 responses and where key capabilities are parsed. Agreeing on the report format and which calls map to which permissions is design work, so confirm the scope with maintainers before coding.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Currently 401 errors leave some clues, but can still be difficult to understand. A better way to describe the situation that we might want to see here one day, would look sort of like this:
┌───────────────────────────┬───────────────────────────────┬────────────────┬───────────────┐
│ b2_copy_part call │ required value │ your key │ condition met │
├───────────────────────────┼───────────────────────────────┼────────────────┼───────────────┤
│ writeFiles permission │ yes │ yes │ YES │
│ readFiles permission │ yes │ yes │ YES │
│ target bucket restriction │ none or MyBucket │ MyBucket │ YES │
│ target prefix restriction │ matching "mydirectory/myfile" │ "mydirectory/" │ YES │
│ source bucket restriction │ none or MyOtherBucket │ MyBucket │ **NO** │
│ target prefix restriction │ matching "mydirectory/myfile" │ "mydirectory/" │ YES │
└───────────────────────────┴───────────────────────────────┴────────────────┴───────────────┘
We'd have to know which call triggered the problem, we already have properties of the key, now an api call and permissions it may require should be added to 401 and then turned into a nice report in the CLI.
- Lenguaje dominante
- Python
- Estrellas
- 638
- Forks
- 138
- Merge medio
- 8 h 27 min
- PR fusionados (30 d)
- 8
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Backblaze/B2_Command_Line_Tool
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Backblaze/B2_Command_Line_Tool#553 · 2 comentarios · 3 reacciones ·
Los mantenedores suelen responder en 1 día
-
Adopt the AI-native SDLC playbook and repository policiesPosiblemente ocupada @goanpeca la tomó hace 18 días. Abiertoenhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Backblaze/B2_Command_Line_Tool#1192 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Backblaze/B2_Command_Line_Tool#1168 ·
Los mantenedores suelen responder en 1 día
-
Add to MacPortsAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 50/100
Backblaze/B2_Command_Line_Tool#1161 ·
Los mantenedores suelen responder en 1 día
-
b2 ls timestamps human readableAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 56/100
Backblaze/B2_Command_Line_Tool#1155 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Backblaze/B2_Command_Line_Tool
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
btclib-org/btclib-node#2505 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
open-webui/open-webui#34462 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
gorakhargosh/watchdog#1462 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
openwisp/openwisp-monitoring#889 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
IETF-Hackathon/pqc-certificates#351 ·
Los mantenedores suelen responder en 2 días