nextcloud / nextcloud/groupfolders

Cannot remove read access to a subfolder of a team folder

Open
#4,224 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I'm trying to have the following structure:
team_folder1 which have two subfolders : public and private
there are two groups allowed on team_folder1 : public (read-only rights for public group and full rights for private group) and private_group (full rights for private group, NO rights for public group)
i'm trying to restrict the access on private sub-folder only to private group (so to remove the read right for public group on private sub-folder) but i get the error that i cannot remove read permission for myself (but i'm part of the private group that have full rights).
It seems to me that not all permissions from all groups are counted for when deciding that i cannot remove read permissions for myself.

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

Reproduce the team folder setup with public and private subfolders and the two groups described in the issue. Trace the permission check that rejects removing public read access from the private subfolder, then verify that public loses access while private retains full access.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.