nextcloud / nextcloud/groupfolders

ACL for all files in folder, but different ACL for parent folder (eq. delete permission)

Open
#738 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: acl
Dominant language
PHP
Stars
343
Forks
106
Avg merge
2d 3h
Merged PRs (30d)
34

Description

We have the situation, that we share groupfolders with member-content, management-content and public-content of a group. To realize this we created three subfolder (member, management, public) and three groups with advanced permissions to the subfolder.

Furthermore wie deny the write/delete access for the three groups to the main-folder, to avoid, that user can create new folder beside the three subfolder we created. Of course user should also not be able to delete the subfolder. Unfortunately - if we set the advanced permission do deny deleting user are also not able do delete files inside a subfolder.

Solution: The possibility of setting advanced-permission with wildcard to all files inside a folder, combined with different advanced-permissions of the parent-folder.

Best regards
Simon

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 tracing how groupfolders handles advanced permissions and inheritance between a parent folder and its subfolders. Review the existing permission-related tests and identify where wildcard rules for files inside a folder would belong. Done means users cannot modify or delete the configured subfolders while retaining the intended permissions for files within them.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.