disk_quota
About
This module limits user disk quota per individual user or per user role. It tracks the total file size uploaded by users via Drupal forms.
Note: This is a modernized fork of the discontinued User Disk Quota module, rewritten for Drupal 10/11 compatibility with PHP 8.3 support.
Limitations:
- Only files uploaded via Drupal forms are tracked.
- FTP-uploaded files are not counted toward quota totals.
Table of contents
- Requirements
- Recommended modules
- Installation
- Configuration
- Uninstallation
- Maintainers
- Original Authors
- Support This Project
Requirements
- PHP 8.1+
- Drupal 10+
Recommended modules
Markdown filter: When enabled, display of the project's README.md help will be rendered with markdown.
Installation
- Install as you would normally install a contributed Drupal module:
composer require drupal/disk_quotaSee: https://www.drupal.org/docs/extending-drupal-8/installing-modules
- Enable the module:
drush en disk_quotaOr via the Extend page:
/admin/modules
Configuration
- Set module permissions at People > Permissions (
/admin/people/permissions):- View own disk quota
- Edit own disk quota
- Edit any disk quota
- Create disk quota
- Administer user roles disk quota
- Edit [role] role disk quota (dynamic per role)
- Configure role-based quota limits at Configuration > People > Account settings > Disk Quota (
/admin/config/people/accounts/disk-quota) - Optionally, set per-user quota overrides on individual user edit pages.
Uninstallation
Uninstalling this module will remove all per-user quota overrides. Role-based configuration will be removed from config.
drush pmu disk_quotaMaintainers
- Dan Greenman - Freelance full stack developer for hire.
Support This Project
If you find this module useful and would like to support its continued development, please consider making a donation. Your contributions help cover server costs, fund new features, and allow me to dedicate more time to maintaining this open-source project.
Donations are accepted in the following cryptocurrencies:
Coin Network Address Bitcoin BTC Mainnetbc1qwtnf888phavjuulj5y6ryvcgpyscckzt5gfu5p
Monero
XMR Mainnet
44KTVNFzSmC12srxKgxvCEbmUXSzjNmT1NAHRpF9tuhvCDMpsimTZerAxPr4pNrtT7EjqN45WKerrAh1K9UgKayR9ogksYm
ZCash
ZEC Mainnet
t1g1zSTxGBtQJcQtdum52tXd2bBp8WkrbkG
Note: Network fees may vary depending on the cryptocurrency and current network congestion. Please ensure your donation amount accounts for these fees to avoid delays or failed transactions.