I add a view for the forbidden view:

from pyramid.exceptions import Forbidden
config.add_view(forbidden_view, context=Forbidden)
which redirects to a log in screen.

But now i added some admin things which needed 'admin' access, and I
want to just show a "you don't have the permission" screen, how do I
check for that in the forbidden view?

-- 
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