nextcloud / nextcloud/groupfolders

User listed multiple times in ACL list

Open
#895 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug design feature: acl
Dominant language
PHP
Stars
343
Forks
106
Avg merge
2d 3h
Merged PRs (30d)
34

Description

Nextcloud: 18.0.4
Group Folders App: 6.0.6
Browser: Firefox 75 (on Ubuntu Linux)
If a user belongs to multiple groups which are set in the admin config of a folder, the user is listed multiple times in the advanced settings list as can be seen in the images below.
Example:
Multiple groups are set in the admin of the _PermissionsTest group folder (with full access), as per following image.
Screenshot_20200502_163718

TestUser1 belongs to groups cg-Test-V and cg-Test-F. TestUser1 appears twice in the advanced settings list, as per following image.
Screenshot_20200502_163613

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 issue in Nextcloud 18.0.4 with Group Folders 6.0.6 using a folder configured for multiple groups and a user belonging to both groups. Inspect the code that builds the advanced settings ACL list; done means each user appears only once while retaining the appropriate access.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.