nextcloud / groupfolders

๐Ÿ“๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Admin-configured folders shared by everyone in a group. https://github.com/nextcloud-releases/groupfolders
https://apps.nextcloud.com/apps/groupfolders
286 stars 87 forks source link

Nextcloud allows you to move files into folders, even if the quota is 0 #1616

Closed nikkilocke closed 1 month ago

nikkilocke commented 3 years ago

How to use GitHub

Steps to reproduce

  1. Create a user with zero quota
  2. Create a group, and place the user in the group
  3. Create a group folder for the group, with non zero quota
  4. Upload a file into the group folder
  5. Move the file into the user's personal folder

Expected behaviour

The user should not be able to move a file into their personal folder, because their quota is zero, meaning they should not be able to have files there.

Actual behaviour

The file is moved into the personal folder. For ever after, when the user logs in, messages saying "Your storage is full, files can not be updated or synced anymore" appear

Server configuration

Operating system: Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64

Web server: nginx/1.14.2

Database: Ver 9.1 Distrib 10.3.27-MariaDB

PHP version: PHP 7.3.27-1~deb10u1

Nextcloud version: 20.0.10

Updated from an older Nextcloud/ownCloud or fresh install: Updated from many previous versions

Where did you install Nextcloud from: Nextcloud website

Signing status:

Signing status ``` No errors have been found. ```

List of activated apps:

App list ``` Enabled: - accessibility: 1.6.0 - activity: 2.13.4 - apporder: 0.12.0 - calendar: 2.2.1 - cloud_federation_api: 1.3.0 - comments: 1.10.0 - contactsinteraction: 1.1.0 - dav: 1.16.2 - deck: 1.2.7 - external: 3.7.2 - federatedfilesharing: 1.10.2 - files: 1.15.0 - files_linkeditor: 1.1.5 - files_markdown: 2.3.3 - files_pdfviewer: 2.0.1 - files_rightclick: 0.17.0 - files_sharing: 1.12.2 - files_texteditor: 2.14.0 - files_trashbin: 1.10.1 - files_versions: 1.13.0 - files_videoplayer: 1.9.0 - firstrunwizard: 2.9.0 - forms: 2.2.4 - groupfolders: 8.2.1 - groupquota: 0.1.5 - impersonate: 1.7.0 - logreader: 2.5.0 - lookup_server_connector: 1.8.0 - nextcloud_announcements: 1.9.0 - notifications: 2.8.0 - oauth2: 1.8.0 - onlyoffice: 6.0.0 - password_policy: 1.10.1 - polls: 1.8.3 - privacy: 1.4.0 - provisioning_api: 1.10.0 - serverinfo: 1.10.0 - settings: 1.2.0 - sharebymail: 1.10.0 - sociallogin: 3.3.0 - support: 1.3.0 - survey_client: 1.8.0 - text: 3.1.0 - theming: 1.11.0 - theming_customcss: 1.8.0 - twofactor_backupcodes: 1.9.0 - updatenotification: 1.10.0 - user_status: 1.0.1 - viewer: 1.4.0 - weather_status: 1.0.0 - workflow_pdf_converter: 1.5.1 - workflowengine: 2.2.0 Disabled: - admin_audit - dashboard - encryption - federation - files_external - photos - recommendations - systemtags - user_ldap ```

Nextcloud configuration:

Config report ``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "cloud.extinctionrebellion.uk", "cloud.backup.extinctionrebellion.uk" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "20.0.10.1", "overwrite.cli.url": "http:\/\/localhost", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "activity_expire_days": 1, "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379, "timeout": 1.5, "password": "***REMOVED SENSITIVE VALUE***" }, "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.local": "\\OC\\Memcache\\APCu", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "25", "maintenance": false, "default_locale": "en-GB", "default_language": "en-GB", "defaultapp": "files", "loglevel": 2, "updater.release.channel": "stable", "theme": "", "app_install_overwrite": [ "onlyoffice" ] } } r```

Are you using external storage, if yes which one: No

Are you using encryption: no

Are you using an external user-backend, if yes which one: No

Client configuration

Browser: Chrome 91.0.4472.106 (Official Build) (64-bit)

Operating system: Windows 10

Logs

Not sure what logs I can give for this - there were no errors, just behaviour which seems, to me, to be incorrect.

CarlSchwan commented 2 years ago

I could reproduce :/

delacosta456 commented 1 year ago

hi Just want t know if there is an ongoing work on this.

Thanks

juliusknorr commented 1 month ago

I can no longer reproduce this on latest master