You are here

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.yml
View source
  1. add project entities:
  2. title: 'Create new Project entities'
  3. administer project entities:
  4. title: 'Administer Project entities'
  5. description: 'Allow to access the administration form to configure Project entities.'
  6. restrict access: true
  7. delete project entities:
  8. title: 'Delete Project entities'
  9. edit project entities:
  10. title: 'Edit Project entities'
  11. view published project entities:
  12. title: 'View published Project entities'
  13. view unpublished project entities:
  14. title: 'View unpublished Project entities'
  15. view all project revisions:
  16. title: 'View all Project revisions'
  17. revert all project revisions:
  18. title: 'Revert all Project revisions'
  19. 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>.'
  20. delete all project revisions:
  21. title: 'Delete all revisions'
  22. 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>.'
  23. permission_callbacks:
  24. - \Drupal\pm_project\ProjectPermissions::generatePermissions