occ sharing:list --user=myuser not showing all shares

未关闭
#492 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
php
领域
cli

调研方向

从 occ sharing:list --user=myuser 使用的过滤开始,并将其与未过滤的 occ sharing:list 输出以及按 token 过滤的输出进行比较。使用报告中的命令在 Nextcloud 27 上重现该问题;当按用户过滤的列表也包含该用户拥有的链接共享时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

occ sharing:list --user=myuser is not showing all my shares, but only the ones by email and internal users. Not the ones by link, though. However, I get them displayed with either occ sharing:list --token=<token>, if I know the token. This seems to be an issue with the filtering, since it is displayed by occ sharing:list, amongst others. :)

My workaround is occ sharing:list | jq '.[] | select(.owner == "<user>")' - that does the trick for me, but might be misleading if I expect the first command to have a complete list.

Version 1.2.0 on NC27.

And: thanks so much for your great work! Your app is a great tool!

主要语言
PHP
星标
20
派生
8
平均合并
7 分钟
30 天内合并 PR
1

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/sharelisting 的其他 Issue

查看 nextcloud/sharelisting 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。