BUG: A locked album can be shared over the network without its password
Los mantenedores suelen responder en 4 días
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- python, typescript
Línea de trabajo
Read frontend/src/pages/Album/Album.tsx around handleShareAlbum and handleAlbumClick, then trace the backend password check verify_album_password and backend/app/share/media.py's share_media_album_name. Confirm how the existing check can authorize sharing a locked album. Done when sharing requires a valid album password or a share password for locked albums, and the unprotected network link no longer exposes its photos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is there an existing issue for this?
- I have searched the existing issues
What happened?
On the Albums page, a locked album can be shared from its menu without entering the album's password.
Steps to reproduce
- Create an album and lock it with a password.
- On the Albums page, open the album's ⋯ menu and choose Share.
- The share dialog opens straight away. No album password is asked for.
- Create a link with Require a password turned off.
- Open the link from another device on the network.
Expected
Sharing a locked album should need its password, the same as opening it does (clicking a locked album opens the password dialog first).
Actual
Anyone with the link can see every photo in the album. The lock protects the album inside the app, but the share option exposes it to the network without the password.
Where
frontend/src/pages/Album/Album.tsx:handleShareAlbumopens the share dialog directly, whilehandleAlbumClickasks for the password first for a locked album.backend/app/share/media.py:share_media_album_namenotes thatis_lockedis deliberately ignored, because sharing has its own authorization. That authorization is optional, though, so a locked album can be shared with none.
Possible fixes
- For a locked album, ask for the album password before the share dialog opens. Verify it with the backend's existing album password check (
verify_album_password) so the check is not frontend-only. - Or require a share password whenever the album is locked.
Option 1 matches how opening a locked album already works. I would be happy to work on whichever the maintainers prefer.
Record
- I agree to follow this project's Code of Conduct
- Lenguaje dominante
- Python
- Estrellas
- 322
- Forks
- 793
- Merge medio
- 6 d 9 h
- PR fusionados (30 d)
- 20
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 AOSSIE-Org/PictoPy
-
BUG: Semantic search sees portrait phone photos sideways (SigLIP ignores EXIF orientation)Posiblemente ocupada @jayssSmm la tomó hace 1 día. Abiertobug enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
AOSSIE-Org/PictoPy#1780 · 5 comentarios ·
Los mantenedores suelen responder en 4 días
-
BUG: Share password loses leading/trailing spaces so the password you set doesn't workPosiblemente ocupada @swastiksharma45 la tomó hace 2 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
AOSSIE-Org/PictoPy#1779 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
-
BUG: PROD: Face search shows "No Matches Found" for every empty result, even when AI tagging is offPosiblemente ocupada @dhruvbit la tomó hace 3 días. Abiertobug enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
AOSSIE-Org/PictoPy#1770 · 3 comentarios ·
Los mantenedores suelen responder en 4 días
-
BUG: Add images to album: success message shows requested count, not number actually addedPosiblemente ocupada @riyanshbhosale la tomó hace 5 días. Abiertobug enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
AOSSIE-Org/PictoPy#1740 · 4 comentarios ·
Los mantenedores suelen responder en 4 días
-
BUG: /sync-folder does not validate the supplied folder_idQuizá libre de nuevo @sathvikn113 la tomó hace 10 días y no hay ningún pull request abierto. Abiertobug possible-duplicate
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
AOSSIE-Org/PictoPy#1731 · 5 comentarios ·
Los mantenedores suelen responder en 4 días
Todos los issues de AOSSIE-Org/PictoPy
Issues similares
-
S2-12 Atualizar README.mdAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
bug help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
cofade/open-garden-planner#1044 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
python-commandline-toolsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
codecrafters-io/build-your-own-x#2126 ·
Los mantenedores suelen responder en 5 días
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
julianleno/cortai#10 ·
-
difficulty:easy func:python os:windows prio:high type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NatronGitHub/Natron#2029 ·
Los mantenedores suelen responder en 1 día