Friendly Access Denied page needed

midkemia - July 17, 2009 - 15:49

Scenario - Website by Invite Only

On visiting the site anonymous user are presented with Access Denied, which is expected as, they do not have rights to "access content".

I need a custom error page that is more friendly, with instructions etc, so tried creating a node and assigning it as the 403 error page. That wont work, as they do not have access to content, so will never see it.

Any suggestions as to a workaround

Hi Nedjo Many thanks for the

midkemia - July 17, 2009 - 19:53

Hi Nedjo

Many thanks for the link, it looks promising, though at present the current dev version looks to have a show stopping issue in that after login the user still sees the 403 message, rather than going to . Hopefully it will be fixed soon.

Maybe one day there will be a facility in core to provide a visible front page on sites where anonymous does not have access content permissions

You're right. My opinion is

sai571 - July 17, 2009 - 21:09

You're right. My opinion is that Drupal should incorporate both the permissions rather than just "access content" permission. So there should be "access node listings" and "access content" permissions

So that even though anonymous user doesn't have "access content" permission, he should be able to see node listings on the front-page and on taxonomy listing pages like "taxonomy/term/3".

I hope Drupal 7 allows to create custom 403 pages accessible to users even though the user doesn't have "access content" perm. ( i mean this page should be made an exception)

Sai Narasimha Reddy
Hyderabad, India.

 
 

Drupal is a registered trademark of Dries Buytaert.