nextcloud / nextcloud/groupquota

Setting a quota of 0 is not supported

Open
#16 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug good first issue
Dominant language
PHP
Stars
35
Forks
10
Avg merge
4m
Merged PRs (30d)
1

Description

When I set the quota for a group to 0 I get an error Malformed quota input. In Nextcloud I can set a quota of 0 for a user to inhibit him creating "own" files and directories.
I need to create groups which can only upload into shared folders. Setting the quota to 1 Byte is not sufficient.

I'll look into fixing it myself and submitting a pull request, but I'm not sure if I have enough time soon.

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 “Malformed quota input” error when setting a group quota to 0. Trace the quota input handling in the groupquota app and compare it with Nextcloud’s user quota behavior. Done means a quota of 0 is accepted and groups can upload only into shared folders.

Written by the indexing model from the issue text.

Assessment

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