function pmproject_permission in Drupal PM (Project Management) 7
Same name and namespace in other branches
- 8 pmproject/pmproject.module \pmproject_permission()
- 7.3 pmproject/pmproject.module \pmproject_permission()
- 7.2 pmproject/pmproject.module \pmproject_permission()
Implements hook_permission().
File
- pmproject/
pmproject.module, line 24
Code
function pmproject_permission() {
return array(
'Project Management Project: access' => array(
'title' => t('Access PM Project'),
'description' => t('Allows the user to see pages and blocks associated with the PM Project module, but does not control which projects are shown within them.'),
),
'Project Management Project: add' => array(
'title' => t('Add PM Project'),
'description' => t('Allows the user to create a project.'),
),
'Project Management Project: delete all' => array(
'title' => t('Delete Any PM Project'),
'description' => t('Allows the user to delete any project.'),
),
'Project Management Project: delete own' => array(
'title' => t('Delete Authored PM Project'),
'description' => t('For projects authored by the user, allows the user to delete the project.'),
),
'Project Management Project: delete of user organization' => array(
'title' => t('Delete PM Projects in own Organization'),
'description' => t('For projects assigned to the same PM Organization as a PM Person, allows the user associated with that Person to delete the project.'),
),
'Project Management Project: delete if project manager' => array(
'title' => t('Delete PM Project if project manager'),
'description' => t('For projects with a PM Person assigned as project manager, allows the user associated with that Person to delete the project.'),
),
'Project Management Project: delete if assigned to project' => array(
'title' => t('Delete PM Project if assigned to project'),
'description' => t('For projects assigned to a PM Person or Team, allows users associated with that Person or Team to delete the project.'),
),
'Project Management Project: edit all' => array(
'title' => t('Edit Any PM Project'),
'description' => t('Allows the user to edit any project.'),
),
'Project Management Project: edit own' => array(
'title' => t('Edit Authored PM Project'),
'description' => t('For projects authored by the user, allows the user to edit the project.'),
),
'Project Management Project: edit of user organization' => array(
'title' => t('Edit PM Project in own Organization'),
'description' => t('For projects assigned to the same PM Organization as a PM Person, allows the user associated with that Person to edit the project.'),
),
'Project Management Project: edit if project manager' => array(
'title' => t('Edit PM Project if project manager'),
'description' => t('For projects with a PM Person assigned as project manager, allows the user associated with that Person to edit the project.'),
),
'Project Management Project: edit if assigned to project' => array(
'title' => t('Edit PM Project if assigned to project'),
'description' => t('For projects assigned to a PM Person or Team, allows users associated with that Person or Team to edit the project.'),
),
'Project Management Project: view all' => array(
'title' => t('View Any PM Project'),
'description' => t('Allows the user to view any project and see any project in lists or dropdowns elsewhere on the site.'),
),
'Project Management Project: view own' => array(
'title' => t('View Authored PM Project'),
'description' => t('For projects authored by the user, allows the user to view the project and see the project in lists or dropdowns elsewhere on the site.'),
),
'Project Management Project: view of user organization' => array(
'title' => t('View PM Project in own Organization'),
'description' => t('For projects assigned to the same PM Organization as a PM Person, allows the user associated with that Person to view the project and see the project in lists or dropdowns elsewhere on the site.'),
),
'Project Management Project: view if project manager' => array(
'title' => t('View Project Management Project if project manager'),
'description' => t('For projects with a PM Person assigned as project manager, allows the user associated with that Person to view the project and see the project in lists or dropdowns elsewhere on the site.'),
),
'Project Management Project: view if assigned to project' => array(
'title' => t('View Project Management Project if assigned to project'),
'description' => t('For projects assigned to a PM Person or Team, allows users associated with that Person or Team to view the project and see the project in lists or dropdowns elsewhere on the site.'),
),
);
}