Block Content Permissions

Component ID

2849003

Component name

Block Content Permissions

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

2719

Component created

Component changed

Component body

The Block Content Permissions module adds restrictions the "Administer blocks" permission does not provide by allowing you to control if the role is able to administer block content types (custom block types), administer block content (custom block library), and if they can create, update, or delete specific types of block content.

The following permissions are added:

Administer block content types
This enables granting a user permission to manage block content types.
View restricted block content
This enables granting a user permission to view restricted block content that the user cannot manage on the Custom block library page.
Permissions for each block content type
This enabled granting a user permission to manage block content for a given
type in the following ways:
  • Create new block content
  • Delete any block content
  • Edit any block content

Installation and Setup

  1. Install the module as you normally would any module.
  2. Assign permissions created by this module to the role you want to grant access. Adding or removing block content types (custom block types) after enabling this module will automatically update on the permissions page.
  3. Add the following core permissions to allow the role access to the administer blocks pages:
    • Use the administration pages and help
    • Administer blocks

Note: The "Administer blocks" permission also grants full access to the Block Layout page and related. To restrict access to those pieces, you can use one or both of these modules depending on your needs:

Note: There is an ongoing effort to add a lot of these permissions and functionality to core. #1975064: Add more granular block permissions