Agaric Design Collective

Replace access denied on user/register for logged-in users with a redirect

Average: 1 (1 vote)
By Benjamin Melançon
on 19 Oct
1 comment

Key words and phrases

drupal redirect logged in users on user/register access denied drupal redirect on access denied

Tags

Description

Best resource on this that I've found:

logged-in user + /user/register -> access denied
http://drupal.org/node/118498

There's no reason for this-- even user #1 gets access denied here, and users who could go to admin/user/user/create -- access denied might be technically correct, you can't re-register, but it's nonsensical and annoying.

This needs to be a core fix or at least a module. Giving logged in users access denied on the registration page is just silly. We the Drupal using community need redirect options, or at least redirection to the user's profile page (but preferably an option to do the home page or something else).

My particular use case is I've set up a workflow (or a redirect in login toboggan) to immediately take instantly logged-in users (a logintoboggan option) to

Anyone who follows that link twice gets denied.

The best solution is the workflow registration I really want-- let people post content or comments and log in or register at the same time.

A comprehensive solution for this (not losing data if switching between logging in or registering, or a couple failed attemps), Agaric will give money to get done or do for money.

 

agaric.com/note/replace-acces

agaric.com/note/replace-access-denied-user/register-logged-users-redirect

Posted by Visitor (not verified) on Fri, 2009-12-04 11:31
Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <small> <pre> <strike> <sub> <sup> <kbd> <s>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.