function ws_performance_permission in Web Service Data 7
Implements hook_permission().
File
- modules/
ws_performance/ ws_performance.module, line 6
Code
function ws_performance_permission() {
return array(
'administer ws performance' => array(
'title' => t('Administer WS Performance settings'),
'description' => t('Allow users to access and change settings on the WS Performance configuration page'),
),
'view anonymized ws performance reports' => array(
'title' => t('View Anonymized WS Performance Reports'),
'description' => t('View generic performance informance about wsconfig calls.'),
),
'view specific ws performance reports' => array(
'title' => t('View Specific WS Performance Reports'),
'description' => t('Warning: This permission allow a user to see the specific data sent by WS calls and may reveal personal information, give this to trusted roles only.'),
),
);
}