Sphene Community Tools

Community

Copyright © 2007-2018 by Herbert Poul

You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools
Board » General » Permissions

So I've started adding random permissions to see what happens and I've noticed that when you get a permission denied it's fairly ugly. It simply raises a Django exception and bails on you.

Is there a plan for that to be a pretty "Permission Denied to view this wikisnip" page?

Thanks!
What? You wanted a sig?
sure.. there is even a plan to document it ;)

in the meantime.. add 'sphene.community.middleware.PermissionDeniedMiddleware' to the end of your MIDDLEWARE_CLASSES

this won't give a 'Permission denied to view wiki snip' but a 'You do not have permission to view this page.' .
Hey, we have Signatures !!! Great, isn't it ? ;)
Excellent. :)
What? You wanted a sig?

Please login to post a reply.



Powered by Sphene Community Tools