node.permissions.yml

core/modules/node/node.permissions.yml

File

core/modules/node/node.permissions.yml

View source
  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. rebuild node access permissions:
  27. title: 'Rebuild content access permissions'
  28. description: 'Trigger a content access permission rebuild. This can be a potentially long and disruptive process.'
  29. restrict access: true
  30. administer node published status:
  31. title: 'Administer node published status'
  32. description: 'Edit the published status of a node across all content types.'
  33. restrict access: true
  34. permission_callbacks:
  35. - \Drupal\node\NodePermissions::nodeTypePermissions

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.