function hosting_quota_hosting_feature in Hosting 7.3
Same name and namespace in other branches
- 6.2 quota/hosting.feature.quota.inc \hosting_quota_hosting_feature()
- 7.4 quota/hosting.feature.quota.inc \hosting_quota_hosting_feature()
Implements hook_hosting_feature().
File
- quota/
hosting.feature.quota.inc, line 11 - Expose the quota feature to hostmaster.
Code
function hosting_quota_hosting_feature() {
$features['quota'] = array(
'title' => t('Quotas'),
'description' => t('Provides the ability to define and allocate quotas for various resources to clients.'),
'status' => HOSTING_FEATURE_DISABLED,
'module' => 'hosting_quota',
'group' => 'experimental',
'role_permissions' => array(
'aegir administrator' => array(
'bypass all quotas',
),
'aegir account manager' => array(
'edit all quotas',
'view all quotas',
'view own quota',
),
'aegir client' => array(
'view own quota',
),
),
);
return $features;
}