[drupal-devel] [feature] Allow annoymous users to log in on access denied

moshe weitzman drupal-devel at drupal.org
Sun Jun 5 01:38:40 UTC 2005


Issue status update for http://drupal.org/node/24050

 Project:      Drupal
 Version:      cvs
 Component:    user system
 Category:     feature requests
 Priority:     normal
 Assigned to:  gordon
 Reported by:  gordon
 Updated by:   moshe weitzman
 Status:       patch

I have been wanting this since i first saw drupal (i.e. a long time). +1




moshe weitzman



Previous comments:
------------------------------------------------------------------------

June 1, 2005 - 00:51 : gordon

Attachment: http://drupal.org/files/issues/denied_login.diff (1.41 KB)

If the user is anonymous, then the user will be presented with the login
page 'user/login' instead of a the 403 default page. If the user then
logins in and has access to the page they will then get redirected to
the page they were trying to access. If the user is already logged in
then they will get the defined 403 page.


With the standard system you cannot just set user/login as the 403 page
as you will not be redirected to the page that you were originally
requesting, but instead to the user page.




------------------------------------------------------------------------

June 4, 2005 - 19:22 : gordon

Attachment: http://drupal.org/files/issues/denied_login2.patch (3.43 KB)

here is a newer version of the patch which adds an option to
admin/settings page so this functionality can be turned off and on.







More information about the drupal-devel mailing list