You are here

pm_organization.permissions.yml in Drupal PM (Project Management) 4.x

modules/pm_organization/pm_organization.permissions.yml

File

modules/pm_organization/pm_organization.permissions.yml
View source
  1. add organization entities:
  2. title: 'Create new Organization entities'
  3. administer organization entities:
  4. title: 'Administer Organization entities'
  5. description: 'Allow to access the administration form to configure Organization entities.'
  6. restrict access: true
  7. delete organization entities:
  8. title: 'Delete Organization entities'
  9. edit organization entities:
  10. title: 'Edit Organization entities'
  11. view published organization entities:
  12. title: 'View published Organization entities'
  13. view unpublished organization entities:
  14. title: 'View unpublished Organization entities'
  15. view all organization revisions:
  16. title: 'View all Organization revisions'
  17. revert all organization revisions:
  18. title: 'Revert all Organization revisions'
  19. description: 'Role requires permission <em>view Organization revisions</em> and <em>edit rights</em> for organization entities in question or <em>administer organization entities</em>.'
  20. delete all organization revisions:
  21. title: 'Delete all revisions'
  22. description: 'Role requires permission to <em>view Organization revisions</em> and <em>delete rights</em> for organization entities in question or <em>administer organization entities</em>.'
  23. permission_callbacks:
  24. - \Drupal\pm_organization\OrganizationPermissions::generatePermissions