pm_project.permissions.yml in Drupal PM (Project Management) 4.x
modules/pm_project/pm_project.permissions.yml
File
modules/pm_project/pm_project.permissions.ymlView source
- add project entities:
- title: 'Create new Project entities'
-
- administer project entities:
- title: 'Administer Project entities'
- description: 'Allow to access the administration form to configure Project entities.'
- restrict access: true
-
- delete project entities:
- title: 'Delete Project entities'
-
- edit project entities:
- title: 'Edit Project entities'
-
- view published project entities:
- title: 'View published Project entities'
-
- view unpublished project entities:
- title: 'View unpublished Project entities'
-
- view all project revisions:
- title: 'View all Project revisions'
-
- revert all project revisions:
- title: 'Revert all Project revisions'
- description: 'Role requires permission <em>view Project revisions</em> and <em>edit rights</em> for project entities in question or <em>administer project entities</em>.'
-
- delete all project revisions:
- title: 'Delete all revisions'
- description: 'Role requires permission to <em>view Project revisions</em> and <em>delete rights</em> for project entities in question or <em>administer project entities</em>.'
-
- permission_callbacks:
- - \Drupal\pm_project\ProjectPermissions::generatePermissions