hosting.feature.quota.inc

Expose the quota feature to hostmaster.

Functions

File

quota/hosting.feature.quota.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Expose the quota feature to hostmaster.
  5. */
  6. /**
  7. * Implements hook_hosting_feature().
  8. */
  9. function hosting_quota_hosting_feature() {
  10. $features['quota'] = array(
  11. 'title' => t('Quotas'),
  12. 'description' => t('Provides the ability to define and allocate quotas for various resources to clients.'),
  13. 'status' => HOSTING_FEATURE_DISABLED,
  14. 'module' => 'hosting_quota',
  15. 'group' => 'experimental',
  16. 'role_permissions' => array(
  17. 'aegir account manager' => array(
  18. 'edit all quotas',
  19. 'view all quotas',
  20. 'view own quota',
  21. ),
  22. 'aegir client' => array(
  23. 'view own quota',
  24. ),
  25. ),
  26. );
  27. return $features;
  28. }