Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / node / src / NodePermissions.php
index 5754d71eacb136549e071aca462e9ae8df1b35ab..1996360ae1f1c592b7c5c9d7476abc6697a2d178 100644 (file)
@@ -62,14 +62,15 @@ class NodePermissions {
       ],
       "view $type_id revisions" => [
         'title' => $this->t('%type_name: View revisions', $type_params),
+        'description' => t('To view a revision, you also need permission to view the content item.'),
       ],
       "revert $type_id revisions" => [
         'title' => $this->t('%type_name: Revert revisions', $type_params),
-        'description' => t('Role requires permission <em>view revisions</em> and <em>edit rights</em> for nodes in question, or <em>administer nodes</em>.'),
+        'description' => t('To revert a revision, you also need permission to edit the content item.'),
       ],
       "delete $type_id revisions" => [
         'title' => $this->t('%type_name: Delete revisions', $type_params),
-        'description' => $this->t('Role requires permission to <em>view revisions</em> and <em>delete rights</em> for nodes in question, or <em>administer nodes</em>.'),
+        'description' => $this->t('To delete a revision, you also need permission to delete the content item.'),
       ],
     ];
   }