sharing:list does not show circles shares and filter doesn't show public shares
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 42/100
Línea de trabajo
Comienza reproduciendo los comandos reportados occ sharing:list -o csv -u Admin_ShareA y los comandos CSV/JSON sin filtrar; después, compara sus resultados con la solución alternativa para la base de datos descrita en el issue. El trabajo estará terminado cuando los listados filtrados por usuario incluyan los shares relevantes de public-link y circle, coincidiendo con los cuatro resultados esperados del ejemplo.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Using Nextcloud 27.1.8 and Sharelisting 1.2.0.
When I run "occ sharing:list" I do not see any shares related to circles.
When I run "occ sharing:list -u username" to find any shares related to user, I just see direct share to/from this users, not public links generated by this user or related to files owned by this user.
So share:listing report misses a lot of relevant information!
Below a more complete example with command outputs.
- My user Admin_ShareA has folder called /Espai_ShareA shared with Circle_ShareA. There's a subfolder called "probando subcompartir", with a file called "asdfasdfasdf.md".
- User "gonzalo" is member of "Circle_ShareA". He shares asdfasdfasdf.md with user "gcc2", with circle "gonzalo_circle". All shares are configured, tested and work properly.
Getting all Admin_ShareA related shares should be as simple as # occ sharing:list -o csv -u Admin_ShareA, and it should show 4 results:
- Share of Admin_ShareA with Circle_ShareA
- Share of gonzalo with user gcc2
- Share of gonzalo with circle gonzalo_circle
- Share of gonzalo with public link
But when I run:
# occ sharing:list -o csv -u Admin_ShareA
id,file_id,owner,initiator,time,permissions,path,name,is_directory,type,recipient
206,72420,Admin_ShareA,gonzalo,2024-04-30T12:36:10+00:00,19,"/Espai_ShareA/probando subcompartir/asdfasdfasdf.md",asdfasdfasdf.md,0,user,gcc2
No public share, no circle shares.
I tried again without filtering by user but using grep:
# occ sharing:list -o csv | grep Admin_ShareA
205,72420,Admin_ShareA,gonzalo,2024-04-30T12:30:07+00:00,1,"/Espai_ShareA/probando subcompartir/asdfasdfasdf.md",asdfasdfasdf.md,0,link,G2yRQeBqSiYtZmz,"2024-05-06 22:00:00",
206,72420,Admin_ShareA,gonzalo,2024-04-30T12:36:10+00:00,19,"/Espai_ShareA/probando subcompartir/asdfasdfasdf.md",asdfasdfasdf.md,0,user,,,gcc2
Now I see the public link but not the circles shares. Also, this method is not valid for my productions system as I need to generate multiples report for users that have multiples shared spaces, links...
(using CSV just to make it easier to parse, but Json has the same results).
Sharelisting command is exactly what I need as I want to generate reports for a group of users that are acting as Share-units and I want to audit the sharing activity on those files. But is not possible if it's missing that public and circle shares. Currently I'm using a workaround querying directly database but I really would like to use this tool.
Is it possible to fix this stuff, or I'm doing anything in a wrong way?
- Lenguaje dominante
- PHP
- Estrellas
- 20
- Forks
- 8
- Merge medio
- 7 min
- PR fusionados (30 d)
- 1
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 nextcloud/sharelisting
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
nextcloud/sharelisting#624 ·
-
occ share:list fails if orphaned shares are presentPosiblemente ocupada @CarlSchwan la tomó hace 164 días. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
nextcloud/sharelisting#600 ·
-
Upgrade to NC 33Posiblemente ocupada @CarlSchwan la tomó hace 164 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
nextcloud/sharelisting#590 · 4 comentarios · 5 reacciones ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
nextcloud/sharelisting#492 · 2 reacciones ·
-
--filter=recipient not workingAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
nextcloud/sharelisting#491 · 2 reacciones ·
Todos los issues de nextcloud/sharelisting
Issues similares
-
Visual COBOL: missing 11.0 and 12.0, and 9.0 date differs from Rocket Software's lifecycle pageAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
endoflife-date/endoflife.date#11561 ·
Los mantenedores suelen responder en 1 día
-
good first issue priority:low type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
crazy-goat/fdb-php#184 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
nextcloud/groupfolders#5218 ·
Los mantenedores suelen responder en 1 día
-
`wp theme mod set` prints its failure message as `Success` and exits 0Posiblemente ocupada @dhrupo la tomó hoy. Abiertobug command:theme-mod-set status:unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
wp-cli/extension-command#570 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día