block_content_permissions 8.x-1.11

New features

* Add Drupal 10 support
* Update README.md file to current recommendations and clean up

block_content_permissions 8.x-1.10

Bug fixes

* Update module description in "info.yml" file.
* Convert README.txt file to README.md and rewrite.
* [3151387] Add composer.json file for D9 automated testing.
* [3136580] Fix rare bug when exposed field removed from core views page.

block_content_permissions 8.x-1.7

Bug fixes
New features
  • Issue #2966241 - Fix routing which caused an issue when adding blocks from a view.
  • Issue #3044805 - Implement dependency injection according to coding standards.
  • Issue #2891167 - Implement "hook_ENTITY_TYPE_create_access" to restrict "create" access from an inline form such as "Inline Entity Form" module.

block_content_permissions 8.x-1.6

Bug fixes

Issue #2931605 by jnettik, joshua.roberson: Contextual Links do not respect permissions

Routing for edit and delete forms don't work and having routes setup broke the on page edit links. Removing the routes and doing the access checks in hooks fixed everything.

block_content_permissions 8.x-1.5

Bug fixes

Fixed a bug that allowed a person to edit block content through "Quick Edit" if they had the "Administer blocks" permission but did not have the related "Edit" permission.

block_content_permissions 8.x-1.4

New features
  • Removed the required "Administer blocks" permission from everything except the "Custom block library" views page.
  • On the "Add custom block" page, restricted list based on "Create" permissions so there is less confusion.
  • On the "Custom block library" page, removed the "Block Description" column edit links so they appear as plain text. The edit links were always present even if the user didn't have edit permissions which could cause confusion. The "Operations" column edit links should be used instead which are permission based.

block_content_permissions 8.x-1.3

Use a hook that is earlier in the flow. This should execute a little faster since the "ViewExecutable" object that is being modified should be smaller. You need to run "drush cr" to rebuild cache so the new hook works.

block_content_permissions 8.x-1.2

Bug fixes

Removed the "administer block content" permission which was not needed since there are already "Create", "Edit", and "Delete" permissions for each block content type. This better mimics the "Node" permissions.

block_content_permissions 8.x-1.1

Bug fixes

NOTE: This is the same as 8.x-1.1 due to a mistake in my adding the tag. See 8.x-1.2 for the actual changes and ignore this one.

Subscribe with RSS Subscribe to Releases for Block Content Permissions