Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
# Summary
Redirect the HTTP 403 error page to the Drupal /user/login page with an optional message that reads:
"Access denied! You must login to view this page."
Also, the desired page is appended in the url query string so that, once login is successful, the user is taken directly where they were originally trying to go.
# Project URL
https://www.drupal.org/project/r4032login
# Where is the code?
https://www.drupal.org/project/r4032login
# Estimated completion date
Unknown
# Dependencies
N/A
# Who's doing the port?
https://www.drupal.org/u/bdone
# What help do they need?
Unknown
# D8 roadmap
https://www.drupal.org/node/2189179
Comments
Comment #2
bdone CreditAttribution: bdone as a volunteer commentedper contrib_tracker, needs work seems like an appropriate status.
Comment #3
bdone CreditAttribution: bdone as a volunteer commentedComment #4
jaapjan CreditAttribution: jaapjan commentedWhat is the current status of the port?
We've been successfully using this module in Drupal 8 for quite a while now in the Open Social distribution. Perhaps it's an idea to tag an alpha release?
Comment #5
jaapjan CreditAttribution: jaapjan commentedAny update on this? Perhaps you could tag an alpha release?
Comment #6
esmith818 CreditAttribution: esmith818 commentedHey @bdone, what's the latest on this module? I see that @jaapjan suggests he is using it in a D8 distro, but I am getting errors in a D8 sandbox when testing. We're (finally) looking into updating the Guardr distro and would like to include this module.
Comment #7
bgm CreditAttribution: bgm at Coop SymbioTIC commentedI tested it on Drupal 8.5.1 and it worked fine.
Comment #8
estoyausenteI tested with 8.5.1 too and it seems works. I didn't test any extrange configuration, just the basic behavior but it seems correct!
I think that a beta version can be released!
Comment #9
flo81 CreditAttribution: flo81 commentedTested on a 8.5.3, it works fine out of the box ! Nice job thanks.
Comment #10
Nixou CreditAttribution: Nixou at Actency commentedThe plan is to fix all remaining 8.x issues before to release a beta or stable version.
You can expect this release within 1 to 2 weeks.
Comment #11
Nixou CreditAttribution: Nixou at Actency commentedThe first beta release has been created.
Please review and create issues if you find a problem.
Comment #12
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedGreat many thanks @Nixou on behalf of all of us who have been waiting for a release. I installed it and it works for me.
Comment #13
Nixou CreditAttribution: Nixou at Actency commentedYou're welcome :).
I just created a beta2 release with the fix for https://www.drupal.org/project/r4032login/issues/2979210.
Comment #14
Nixou CreditAttribution: Nixou at Actency commentedThe beta2 release is currently used by 405 sites and there was not new issues since its publication.
So I created a stable version.