Problem with Permissions and 403 page

wildkatana - June 17, 2008 - 03:26
Project:node privacy byrole
Version:6.x-1.2
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

Hello,
I have a system where I have 3 user roles, anonymous, monthly and yearly. I have a page which is only accessible to yearly members. The problem comes when a monthly user tries to access the yearly page, I want it to redirect them to a 403 page telling them they need to upgrade, they don't have sufficient permissions. This works when an anonymous user tries to access a yearly page, but when a monthly member tries, it just crashes. It shows a server error or something. Can anyone point me in the right direction or tell me what I am doing wrong? Thanks

#1

wildkatana - June 17, 2008 - 03:32
Assigned to:wildkatana» Anonymous

#2

deekayen - June 17, 2008 - 12:58
Status:active» postponed (maintainer needs more info)

How did you setup the special denied messages? admin/settings/error-reporting ?

What is the error? If it's something that shows up in admin/reports/dblog, please post the lines from the error message.

#3

wildkatana - June 18, 2008 - 21:50

It says:

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

* This problem can sometimes be caused by disabling or refusing to accept
cookies.

I'm not sure what the problem is, but when an anonymous user tries to go to a protected page, they are redirected to my 403 page. When a user with insufficient permissions (the wrong user role) tries, they get this page. Any ideas?

 
 

Drupal is a registered trademark of Dries Buytaert.