Site Quota Enforcer

Component ID

2857676

Component name

Site Quota Enforcer

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

197

Component created

Component changed

Component body

This module enforces quotas set for the entire Drupal site. It was written for the Aegir Hosting System to enforce quotas set by Aegir administrators on client sites, but could be used with any Drupal hosting system that prevents site users from editing settings.php, where the limits are set.

It works by preventing new entities from being creating on form submission if associated resources are at or past their limits.

Currently supported quotas:

  • The number of users
  • The amount of storage (the combined files and database size)

Information on each quota (current amount, limit and percentage used) is presented on the site's main status page.

While this module runs on client sites, quota limits are set via the Aegir Variables module that runs on the Aegir hostmaster site itself.