nextcloud / nextcloud/sharelisting
--filter=recipient not working
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 19
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
sudo -u www-data php .occ sharing:list --user myuser --filter recipient does not work as expected while sudo -u www-data php .occ sharing:list --user myuser --filter owner shows all the shares, where myuser is the the value of the owner-key. However, there are shares where there is the value "myuser" in the key "recipient", but the output is "[]". Version 1.2.0 on NC 27. This is not the expected behaviour, isn't it?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the .occ sharing:list command and reproduce the difference between --filter recipient and --filter owner using the example command and NC 27 setup. Trace how the recipient value is selected and confirm that shares containing myuser under recipient appear in the output; done when the recipient filter returns those shares.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100