Block permissions

Component ID

2684717

Component name

Block permissions

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

5530

Component created

Component changed

Component body

This module provides additional permissions for finer grained access validation in managing blocks.

The following permissions are added:

  • An administer blocks per enabled theme.
    This enables granting a client access to managing the blocks without them beeing able to change the blocks on the admin theme.
  • Permissions per provider of block plugins.
    This enables granting a user permission to add certain types of blocks but not system block plugins.

This module is for Drupal 8.x only.

There are similar modules that take a different road:

  • Block Access (D8 version on github)
    Difference:
    This module adds permissions for CRUD per type. Block Access only provides administer permissions per provider and per theme.