- Issue created by @unexjp
- First commit to issue fork.
- Merge request !33379764-request-to-add: Added permission for users to bypass the redirect. → (Merged) created by uttam
- Status changed to Needs review
4 months ago 6:08am 11 July 2024 I've created a custom permission called 'Bypass entity view redirect' and implemented it in an event subscriber to check with
$this->currentUser->hasPermission('bypass entity view redirect')
. If the user possesses this permission, the redirection logic is bypassed. I've also included the current user service in the event subscriber and updated the services.yml accordingly. This successfully bypasses redirection for all roles except administrators, who have this permission assigned by default
Please review this- Assigned to rajdip_755
- Status changed to RTBC
2 months ago 5:26am 29 August 2024 - 🇮🇳India rajdip_755
Hi @uttam,
I have reviewed the
MR !3
and applied the same as the patch. It's applied successfully.Drupal version: 10.3.0
Module version: 1.0.0-beta3After applying the patches a new permission is available to bypass the entity view redirect and the feature is working fine, attaching here the screen recording of before and after applying the patch.
I'm moving this to RTBC.
Thanks !
- Status changed to Fixed
about 2 months ago 9:03am 18 September 2024 - 🇮🇳India arunkumark Coimbatore
Thanks for working on the Issue. I deployed the MR.
Automatically closed - issue fixed for 2 weeks with no activity.