node.permissions.yml 1.24 KB
Newer Older
1
2
bypass node access:
  title: 'Bypass content access control'
3
4
  description: 'View, edit and delete all content regardless of permission restrictions.'
  restrict access: true
5
6
administer content types:
  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
10
administer nodes:
  title: 'Administer content'
11
  description: 'Promote, change ownership, edit revisions, and perform other tasks across all content types.'
12
13
14
  restrict access: true
access content overview:
  title: 'Access the Content overview page'
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
access content:
  title: 'View published content'
view own unpublished content:
  title: 'View own unpublished content'
view all revisions:
  title: 'View all revisions'
revert all revisions:
  title: 'Revert all revisions'
  description: 'Role requires permission <em>view revisions</em> and <em>edit rights</em> for nodes in question or <em>administer nodes</em>.'
delete all revisions:
  title: 'Delete all revisions'
  description: 'Role requires permission to <em>view revisions</em> and <em>delete rights</em> for nodes in question or <em>administer nodes</em>.'

permission_callbacks:
  - \Drupal\node\NodePermissions::nodeTypePermissions