node.permissions.yml 1.2 KB

12345678910111213141516171819202122232425262728
  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. view own unpublished content:
  16. title: 'View own unpublished content'
  17. view all revisions:
  18. title: 'View all revisions'
  19. description: 'To view a revision, you also need permission to view the content item.'
  20. revert all revisions:
  21. title: 'Revert all revisions'
  22. description: 'To revert a revision, you also need permission to edit the content item.'
  23. delete all revisions:
  24. title: 'Delete all revisions'
  25. description: 'To delete a revision, you also need permission to delete the content item.'
  26. permission_callbacks:
  27. - \Drupal\node\NodePermissions::nodeTypePermissions