- Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
almost 2 years ago Waiting for branch to pass - Status changed to Needs work
about 1 year ago 7:59pm 25 November 2024 - ๐บ๐ธUnited States kurttrowbridge
I've been using MR 15, but it's no longer applying to the newest dev version of the module. It looks like there are conflicts in
src/Entity/Flagging.phpandsrc/FlagService.php. Will report back if I'm able to get it taken care of myself. - ๐น๐ทTurkey makbay
As a work around, maybe you can implement
hook_ENTITY_TYPE_access()</a>in a custom module:/** * Implements hook_ENTITY_TYPE_access(). */ function YOURMODULE_flagging_access(EntityInterface $entity, $operation, AccountInterface $account) { if ($entity->getFlagId() === 'your_flag_id' && $operation === 'view') { ... maybe some other logic ... return AccessResult::allowed(); } return AccessResult::neutral(); } - ๐ฆ๐นAustria daniel.pernold
daniel.pernold โ made their first commit to this issueโs fork.
- Merge request !185Initial work to convert flagging entity access to be better integrated with... โ (Open) created by deaom