Mercurial > hg > cmmr2012-drupal-site
diff core/modules/layout_builder/layout_builder.permissions.yml @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/core/modules/layout_builder/layout_builder.permissions.yml Thu Feb 28 13:11:55 2019 +0000 +++ b/core/modules/layout_builder/layout_builder.permissions.yml Thu May 09 15:34:47 2019 +0100 @@ -1,5 +1,9 @@ -# @todo Expand permissions to be more granular in -# https://www.drupal.org/node/2914486. configure any layout: title: 'Configure any layout' restrict access: true +create and edit custom blocks: + title: 'Create and edit custom blocks' + description: 'Manage the single-use blocks within the Layout Builder' + +permission_callbacks: + - \Drupal\layout_builder\LayoutBuilderOverridesPermissions::permissions