Have you remapped the Forbidden view?

Sent from my iPad

On Oct 15, 2011, at 5:38 AM, richzilla <[email protected]> wrote:

> Im having a bit of trouble getting security in pyramid to work
> properly. My security itself seems to be working, if a user attempts
> to an access a resource they are not authorized to view, pyramid
> throws an HTTPForbidden exception. The problem is that in this
> instance, its supposed to fall back to the login view, this isnt
> happening, im just getting the default pyramid exception screen with
> the stacktrace.
> 
> my login view:
> 
> http://pastebin.com/gQnPdf4B
> 
> All of views have a default permission set to 'view', my acl class
> looks as follows:
> 
> http://pastebin.com/VvanZXbn
> 
> As i said, the ACL aspect appears to be working. Interestingly, if i
> remove the default_permission from my init.py, everything works as
> normal.
> 
> Any pointers as to where im going wrong would be appreciated.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/pylons-discuss?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to