Align Unified Search visibility with participant access rules
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
- 18/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- php
- Área
- authorization, search
Línea de trabajo
Start by reading how lib/Search/FileSearchProvider.php filters results and how lib/Service/FileAccessService.php decides document access, then compare the participant lookups in lib/Db/SignRequestMapper.php and the identification types in lib/Db/IdentifyMethod.php. The issue asks for a written role/identity/state matrix before any code change, so the first deliverable is that contract, checked against tests/php/Unit/Service/FileAccessServiceTest.php. Done means the matrix is agreed and the positive and negative cases pass, and any separately exploitable finding goes through SECURITY.md, not a public pull request.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Goal
Ensure LibreSign Unified Search uses consistent participant identity and document-access rules for owners, signers and observers.
Starting points
lib/Search/FileSearchProvider.phplib/Db/SignRequestMapper.phplib/Service/FileAccessService.phplib/Db/IdentifyMethod.phplib/Db/SignRequest.phptests/php/Unit/Service/FileAccessServiceTest.php- Existing observer integration scenarios
Requirements
Define and implement a consistent, testable contract for search discovery.
Account UID associations should be handled explicitly. Email and other identification channels require a verified rule for associating the contact with the authenticated account; merely comparing arbitrary contact strings must not expand access.
Cover current signing-request states, observers, envelopes, draft requests, deleted accounts and legacy records.
Search discovery must not confer signing, validation or document-management permissions.
Keep discovery decisions consistent with document-access checks without introducing per-result authorization queries that undermine performance.
Acceptance criteria
- A concise role/identity/state matrix documents expected visibility.
- Owners, account signers and account observers receive the correct results.
- Ambiguous or untrusted identifiers do not grant unintended discovery.
- Unrelated accounts receive no document identifiers or metadata.
- Multiple identification methods do not create duplicate results.
- Revoked, stale and deleted-account scenarios have defined outcomes.
- Search-related authorization checks are read-only.
- Unit and database integration tests cover positive and negative cases.
- Existing legitimate signing and validation flows remain compatible.
Implementation guidance
Use the existing services as the starting point. Establish the authorization contract first, then implement the smallest change that satisfies it.
Avoid an independent new permission framework or a repository-wide refactor.
If investigation suggests a separately exploitable security issue, follow SECURITY.md instead of describing exploitation details in a public pull request.
- Lenguaje dominante
- PHP
- Estrellas
- 844
- Forks
- 176
- Merge medio
- 14 h 3 min
- PR fusionados (30 d)
- 344
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 LibreSign/libresign
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
OpenSSL engine: leaf certificates get O=Internet Widgits Pty Ltd, ST=Some-State from system openssl.cnfPosiblemente ocupada @vitormattos la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
LibreSign/libresign#9366 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 83/100
LibreSign/libresign#9007 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
LibreSign/libresign#8284 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
frontend javascript technical debt
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
Los mantenedores suelen responder en 1 día
Todos los issues de LibreSign/libresign
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Automattic/blocks-engine#6318 ·
Los mantenedores suelen responder en 1 día
-
[remove-resource] Delete Open Course Hub, Open Multicourse Hub, and Learn2 with GitSync skeletonsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
Allow @ in the service nameAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
-
35-feedback
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día