node.permissions.yml 1.2 KB

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. description: 'To view a revision, you also need permission to view the content item.'
  22. revert all revisions:
  23. title: 'Revert all revisions'
  24. description: 'To revert a revision, you also need permission to edit the content item.'
  25. delete all revisions:
  26. title: 'Delete all revisions'
  27. description: 'To delete a revision, you also need permission to delete the content item.'
  28. permission_callbacks:
  29. - \Drupal\node\NodePermissions::nodeTypePermissions