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:
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?
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.
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:But when I run:
No public share, no circle shares.
I tried again without filtering by user but using grep:
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?