nextcloud / nextcloud/server

Filter by current file owner

Open
#38,185 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: workflows
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

I'd like to create a workflow for the following use-case: you create a tag "private" for a file - that file can't be accessed via shared links or internal nextcloud shares.

Rules are only applied when tag equals "private".
Currently I handle shared links with user groups --> if not usergroup "user" then fileaccess not allowed

But this won't work for internal shares. E.g. you share a folder with a nextcloud member and have some files marked as private - they can see them.

Of course you can create granular user groups.

But I think it would be way more handy to have a filter for the owner of the file. (Is owner yes/no)

Best wishes from Austria
Andreas

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

The issue names no files, entry points, or tests. Begin by locating the file-sharing workflow and existing tag- or group-based access filters, then determine how a current-file-owner condition should fit the proposed private-tag rules; completion would require an agreed design and coverage for shared-link and internal-share behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.