function pmteam_permission in Drupal PM (Project Management) 7
Same name and namespace in other branches
- 8 pmteam/pmteam.module \pmteam_permission()
- 7.3 pmteam/pmteam.module \pmteam_permission()
- 7.2 pmteam/pmteam.module \pmteam_permission()
Implements hook_permission().
File
- pmteam/
pmteam.module, line 16 - Functionality for the Project Management Team module Organized into the following sections:
Code
function pmteam_permission() {
return array(
'Project Management Team: access' => array(
'title' => t('Access PM Team'),
'description' => t('Allows the user to see pages and blocks associated with the PM Team module, but does not control which teams are shown within them.'),
),
'Project Management Team: add' => array(
'title' => t('Add PM Team'),
'description' => t('Allows the user to create a team.'),
),
'Project Management Team: view all' => array(
'title' => t('View Any PM Team'),
'description' => t('Allows the user to view any team and see any team in lists or dropdowns elsewhere on the site.'),
),
'Project Management Team: view own' => array(
'title' => t('View Authored PM Team'),
'description' => t('For teams authored by the user, allows the user to view the team and see the team in lists or dropdowns elsewhere on the site.'),
),
'Project Management Team: view belonged' => array(
'title' => t('View Belonged PM Team'),
'description' => t('Allows users assigned to a PM Person linked to a team to view that team and see that team in lists or dropdowns elsewhere on the site.'),
),
'Project Management Team: edit all' => array(
'title' => t('Edit Any PM Team'),
'description' => t('Allows the user to edit any team.'),
),
'Project Management Team: edit own' => array(
'title' => t('Edit Authored PM Team'),
'description' => t('For teams authored by the user, allows the user to edit the team.'),
),
'Project Management Team: edit belonged' => array(
'title' => t('Edit Belonged PM Team'),
'description' => t('Allows users assigned to a PM Person linked to an organization to edit that team.'),
),
'Project Management Team: delete all' => array(
'title' => t('Edit Any PM Team'),
'description' => t('Allows the user to delete any team.'),
),
'Project Management Team: delete own' => array(
'title' => t('Delete Authored PM Team'),
'description' => t('For teams authored by the user, allows the user to delete the team.'),
),
'Project Management Team: delete belonged' => array(
'title' => t('Delete Belonged PM Team'),
'description' => t('Allows users assigned to a PM Person linked to an organization to delete that team.'),
),
);
}