- Issue created by @flyke
- 🇧🇪Belgium flyke
Possible solution: change the access() function in /src/Plugin/TaxonomyBulkActions/TaxonomyBulkActionsDelete.php to:
public function access(AccountProxyInterface $account) { // Check for delete permission for the current vocabulary. if ($vocabulary = \Drupal::routeMatch()->getParameter('taxonomy_vocabulary')) { $delete_permission = "delete terms in {$vocabulary->id()}"; if ($account->hasPermission($delete_permission)) { return TRUE; } } // Check for the 'Administer vocabularies and terms' permission. return $account->hasPermission('administer taxonomy'); }
- 🇲🇦Morocco b.khouy 🇲🇦 Morocco
Thanks @flyke for this issue report and proposed solutions.
Fix has been deployed, for anyone facing the same issue please update to the latest module version >= 1.0.5
composer require 'drupal/taxonomy_bulk_actions:^1.0'
- Status changed to Fixed
almost 2 years ago 4:23pm 7 July 2023