Added permission granularity for Block content entity types.
1 unresolved thread
Closes #3468918
Merge request reports
Activity
43 43 * }, 44 44 * "translation" = "Drupal\block_content\BlockContentTranslationHandler" 45 45 * }, 46 * permission_granularity = "bundle", This changes the permissions for those with content translation enabled.
From
"translate $entity_type_id"
To
"translate $bundle $entity_type_id"
So we need an update hook, as since #3445215 permissions on roles are validated.
So anyone with the old
translate block_content
permission will now get an error as this permission is gone.See
\Drupal\user\Entity\Role::getAllValidPermissions
Please register or sign in to reply