-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide shares by disabled users #39699
Conversation
6baadbe
to
ee34b90
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My comment is not a blocker and will probably be addressed in another PR
@@ -2714,10 +2714,12 @@ public function testGetSharesByExpiredLinkShares() { | |||
|
|||
public function testGetShareByToken() { | |||
$this->config | |||
->expects($this->once()) | |||
->expects($this->exactly(2)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer just removing these counts altogether as they don't actually contribute to the test.
What is the reasoning for not doing this by default? |
@come-nc I think having it in 27.1 would be nice to have some (more) upgrade motivation for the requesting party, no? |
Avoid a behavior change on update which will not please everyone. |
Not my call, if you think it fits and 27.1 is still open we can backport. |
…rom disabled users Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
943cc1c
to
24ad2e2
Compare
yes, still open and fine to backport 👍 |
/backport to stable27 |
/backport to stable23 |
The backport to stable23 failed. Please do this backport manually. # Switch to the target branch and update it
git checkout stable23
git pull origin stable23
# Create the new backport branch
git checkout -b fix/foo-stable23
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123
# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable23 More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport |
/backport to stable26 |
Summary
occ config:app:set files_sharing hide_disabled_user_shares --value yes
to enableChecklist