Disk Quota
This module tracks files uploaded by users through Drupal forms and limits their disk space based on individual quotas or user roles. It is a modernized version compatible with Drupal 10+.
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 storage quota
- Edit own storage quota
- Edit any storage quota
- Create storage quota
- Administer user roles storage quota
- Edit [role] role storage 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.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.0-beta4 | Pre-release | 10–11 | Jun 26, 2026 | |
| 1.0.0-beta3 | Pre-release | 10–11 | Jun 26, 2026 | |
| 1.0.0-beta2 | Pre-release | 10–11 | Jun 26, 2026 | |
| 1.0.0-beta1 | Pre-release | 10–11 | May 22, 2026 |