Bulk removal of shares in the sharing overview
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
[!TIP]
Help move this idea forward
- Use the 👍 reaction to show support for this feature.
- Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
- Subscribe to receive notifications about status changes and new comments.
Is your feature request related to a problem? Please describe.
Managing a large number of shares in Nextcloud is very tedious.
When shares accumulate over time — especially link shares without
expiration dates — there is no way to remove multiple shares at once.
I'm always frustrated when I have to open each file individually,
navigate to the sharing panel, and remove every single share one by one.
Describe the solution you'd like
In the sharing overview (Files → Shared with others / Link shares),
users should be able to:
- Select multiple shares via checkboxes
- Remove all selected shares at once via a bulk action (e.g.
"Remove selected shares")
This would be consistent with how bulk actions already work for
files in the Files app (delete, move, etc.).
Describe alternatives you've considered
- Removing shares one by one (current only option — not viable
at scale) - Using
occCLI commands on the server (admin-only, not
available to regular users) - Direct database access (not acceptable for end users and
carries risk)
None of these are a reasonable solution for regular users who
simply want to clean up their shares.
Additional context
This was first requested in #15142 (April 2019) and assigned to
the Nextcloud 28 milestone, but the bulk removal of shares from
the sharing overview UI has not been implemented as of
Nextcloud Hub 25 Autumn (32.0.6).
A proper bulk action in the UI would significantly improve
usability for users with many shares and would bring Nextcloud
in line with comparable file sharing platforms.
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 in the Files sharing overview at Files → Shared with others / Link shares, and compare its controls with the existing bulk actions in the Files app. Trace how individual shares are removed and determine the UI and server paths needed for selecting multiple shares. Done means selected shares can be removed together and the existing sharing views remain functional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100