Mercurial > hg > cmmr2012-drupal-site
diff core/modules/node/node.permissions.yml @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/node/node.permissions.yml Thu Jul 05 14:24:15 2018 +0000 @@ -0,0 +1,28 @@ +bypass node access: + title: 'Bypass content access control' + description: 'View, edit and delete all content regardless of permission restrictions.' + restrict access: true +administer content types: + title: 'Administer content types' + description: 'Maintain the types of content available and the fields that are associated with those types.' + restrict access: true +administer nodes: + title: 'Administer content' + description: 'Promote, change ownership, edit revisions, and perform other tasks across all content types.' + restrict access: true +access content overview: + title: 'Access the Content overview page' +view own unpublished content: + title: 'View own unpublished content' +view all revisions: + title: 'View all revisions' + description: 'To view a revision, you also need permission to view the content item.' +revert all revisions: + title: 'Revert all revisions' + description: 'To revert a revision, you also need permission to edit the content item.' +delete all revisions: + title: 'Delete all revisions' + description: 'To delete a revision, you also need permission to delete the content item.' + +permission_callbacks: + - \Drupal\node\NodePermissions::nodeTypePermissions