Any user who may create sites can bypass the quotas set on clients.

To reproduce:

  1. Enable quota module
  2. Set default quota (eg. 1)
  3. Create (or use an existing) client
  4. Create a user with the "aegir client" role and associate the client to their user
  5. Log-in as the newly created user
  6. Create 2 sites

I would normally expect that most users can't bypass the set quotas for a given client.

Members fund testing for the Drupal project. Drupal Association Learn more


kienan created an issue. See original summary.

kienan’s picture

Here's a patch. It also adds permissions to bypass all quotas or per-resource.

kienan’s picture

Status: Active » Needs review
helmo’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, works as expected.

  • helmo committed 4c15bf1 on 7.x-3.x authored by kienan
    Issue #2883630 by kienan: Users may create sites and go above the client...
helmo’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.