hosting.feature.client.inc in Hosting 7.4
Same filename and directory in other branches
Expose the client feature to hostmaster.
File
client/hosting.feature.client.incView source
<?php
/**
* @file
* Expose the client feature to hostmaster.
*/
/**
* @file hosting.feature.client.inc
* Register this module as an Aegir feature.
*/
/**
* Implements hook_hosting_feature().
*/
function hosting_client_hosting_feature() {
$features['client'] = array(
'title' => t('Clients'),
'description' => t('Track and manage ownership of hosted sites, and access to platforms.'),
'status' => HOSTING_FEATURE_REQUIRED,
'module' => 'hosting_client',
'node' => 'client',
'group' => 'required',
'role_permissions' => array(
'aegir platform manager' => array(
'administer clients',
),
'aegir account manager' => array(
'administer clients',
'create client',
'edit client users',
'view client',
'edit client uname',
),
'aegir client' => array(
'edit own client',
'view client',
),
),
);
return $features;
}
Functions
Name | Description |
---|---|
hosting_client_hosting_feature | Implements hook_hosting_feature(). |