Drupal investigation

node.permissions.yml 1.2KB

123456789101112131415161718192021222324252627282930
  1. bypass node access:
  2. title: 'Bypass content access control'
  3. description: 'View, edit and delete all content regardless of permission restrictions.'
  4. restrict access: true
  5. administer content types:
  6. title: 'Administer content types'
  7. description: 'Maintain the types of content available and the fields that are associated with those types.'
  8. restrict access: true
  9. administer nodes:
  10. title: 'Administer content'
  11. description: 'Promote, change ownership, edit revisions, and perform other tasks across all content types.'
  12. restrict access: true
  13. access content overview:
  14. title: 'Access the Content overview page'
  15. access content:
  16. title: 'View published content'
  17. view own unpublished content:
  18. title: 'View own unpublished content'
  19. view all revisions:
  20. title: 'View all revisions'
  21. revert all revisions:
  22. title: 'Revert all revisions'
  23. description: 'Role requires permission <em>view revisions</em> and <em>edit rights</em> for nodes in question or <em>administer nodes</em>.'
  24. delete all revisions:
  25. title: 'Delete all revisions'
  26. description: 'Role requires permission to <em>view revisions</em> and <em>delete rights</em> for nodes in question or <em>administer nodes</em>.'
  27. permission_callbacks:
  28. - \Drupal\node\NodePermissions::nodeTypePermissions