nextcloud / nextcloud/files_accesscontrol

Possible to Deny Delete or Rename Only?

Open
#149 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
60
Forks
22
Avg merge
2d 11h
Merged PRs (30d)
34

Description

Say we tag certain folders "System". Can we deny delete and rename of such a folder only (while keeping that folder readable, and all contents inside the folder readable and mutable)?

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 reviewing the app's existing access-control behavior for tagged folders, focusing on whether delete and rename can be denied independently from read and content mutation. Done means establishing and implementing a supported rule for the requested combination, with tests covering folder readability, content mutability, and blocked delete or rename operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
security
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.