nextcloud / nextcloud/groupquota
Setting a quota of 0 is not supported
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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