Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Authlogic redirect on permission denied, how to configure url
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dirk de Kok  
View profile  
 More options Jun 19 2012, 8:56 am
From: Dirk de Kok <dirk.de...@gmail.com>
Date: Tue, 19 Jun 2012 05:56:16 -0700 (PDT)
Local: Tues, Jun 19 2012 8:56 am
Subject: Authlogic redirect on permission denied, how to configure url

hi all,

as I am protecting my homepage on my staging environment I would like to
change the url to which a user is redirected  after permission denied.

Default the user is redirected to the homepage, but that will create an
infinite loop. So I am trying to figure out how to set the url to something
like /permission_denied instead.

It must be something in this class, but what the name of this option is I
can't find

class UserSession < Authlogic::Session::Base

...

end

thanks in advance!

best, dirk


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.