File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ class {{ entity_class }}HtmlRouteProvider extends AdminHtmlRouteProvider {% endb
80
80
'_title' => "{$entity_type->getLabel()} revisions",
81
81
'_controller' => '\Drupal\{{ module }}\Controller\{{ entity_class }}Controller::revisionOverview',
82
82
])
83
- ->setRequirement('_permission', 'access {{ label | lower }} revisions')
83
+ ->setRequirement('_permission', 'view all {{ label | lower }} revisions')
84
84
->setOption('_admin_route', TRUE);
85
85
86
86
return $route;
@@ -104,7 +104,7 @@ class {{ entity_class }}HtmlRouteProvider extends AdminHtmlRouteProvider {% endb
104
104
'_controller' => '\Drupal\{{ module }}\Controller\{{ entity_class }}Controller::revisionShow',
105
105
'_title_callback' => '\Drupal\{{ module }}\Controller\{{ entity_class }}Controller::revisionPageTitle',
106
106
])
107
- ->setRequirement('_permission', 'access {{ label | lower }} revisions')
107
+ ->setRequirement('_permission', 'view all {{ label | lower }} revisions')
108
108
->setOption('_admin_route', TRUE);
109
109
110
110
return $route;
You can’t perform that action at this time.
0 commit comments