nextcloud / nextcloud/groupquota

Group quota limited by user quota

Open
#34 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug
Dominant language
PHP
Stars
35
Forks
10
Avg merge
4m
Merged PRs (30d)
1

Description

Hello,

We encounter an issue today with the "groupquota" extension.

We have user who cannot add files to his nextcloud. The group quota was 80GB.

On backend all seems fine.
On user interface a message indicate there is insufficient disk space. The disk space bar was full.

Capture d’écran du 2024-02-06 14-11-37

I tried to re-set the group quota without success, I try set user quota from the admin interface without success either.

My workaround was to disable the "groupquota" extension. And then notice the user had a user quota of 60GB, so I set it bigger than group quota.

Multiple things can be done to avoid this :

  • When a group quota is set, It should applies to user quota of all users inside the group. (So if a user have 80GB group quota, user quota should be set to 80GB too)
  • Or a way to define and see user quota and group quota. Which can be an interesting feature to limit user space inside a group with a group quota.

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 reproducing the groupquota extension behavior with an 80GB group quota and a member whose user quota is 60GB, checking the backend and user interface quota values. Review how the extension and admin interface combine group and user quotas; the issue is done when the intended relationship between those limits is implemented and verified for group members.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.