nextcloud / nextcloud/server

Add the occ feature to unshare resources

Open
#50,911 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: occ feature: sharing
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Would you mind to add the CLI way to manage with shares, in particular, to unshare resources under specific condition using occ.
In my case, I need to unshare all shares shared with disabled users.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing occ entry points for share management and the code that handles unsharing resources. Define how a command should identify shares with disabled users, then verify that it removes all matching shares without affecting others; the issue provides no specific files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.